1
0
Fork 0

zsh_gitstatus location and some xresources tweaks

This commit is contained in:
Von Random 2018-02-24 17:52:52 +03:00
parent 7cc399cba1
commit 1a5b658b7f
2 changed files with 9 additions and 3 deletions

View file

@ -6,7 +6,7 @@ Xft.hinting: true
Xft.hintstyle: hintslight
Xft.dpi: 96
#define terminus -xos4-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-1
#define terminussmall -xos4-terminus-*-*-*-*-12-*-*-*-*-*-iso10646-1
#define terminus_small -xos4-terminus-*-*-*-*-12-*-*-*-*-*-iso10646-1
! }}}
! {{{ urxvt
! fonts
@ -29,6 +29,12 @@ URxvt.termName: rxvt-unicode
URxvt.urgentOnBell: true
URxvt.visualBell: false
! perl extensions
URxvt.perl-ext: default,url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.launcher: /usr/bin/xdg-open
URxvt.url-select.underline: true
! colors
URxvt.foreground: #657b83
URxvt.background: #fdf6e3
@ -56,7 +62,7 @@ URxvt.color15: #fdf6e3
! }}}
! {{{ xscreensaver and rofi
xscreensaver.font: terminus
xscreensaver.Dialog.Font: terminussmall
xscreensaver.Dialog.Font: terminus_small
rofi.modi: window
rofi.font: xos4 Terminus Bold 11

2
zshrc
View file

@ -64,7 +64,7 @@ bindkey -s '^j' '^atime ^m' # ctrl + j
prompt_nl=$'\n'
prompt_ln1='[ %(!.%F{red}.%F{black})%n%f %m:%F{black}%d%f ]'
prompt_ln2='%(!.%F{red}.%F{black})>%f '
prompt_state_file="$XDG_RUNTIME_DIR/zsh_gitstatus_$$.tmp"
prompt_state_file="/tmp/zsh_gitstatus_$$.tmp"
PROMPT="$prompt_ln1$prompt_nl$prompt_ln2"
PROMPT2='%b%f%_%(!.%F{red}.%F{black})>%f%b '
PROMPT3='%b%f?%(!.%F{red}.%F{black})#%f%b '