1
0
Fork 0

bashrc, zshrc: get rid of at sign; i3: new KeePassXC match rule

This commit is contained in:
Von Random 2019-11-26 15:25:39 +03:00
parent 691ed29ba5
commit e0d7da13ff
3 changed files with 4 additions and 4 deletions

2
bashrc
View file

@ -23,7 +23,7 @@ prompt_command() {
} }
((UID)) && ps_clr=4 || ps_clr=1 ((UID)) && ps_clr=4 || ps_clr=1
# just a colored version of [ $USER@$HOSTNAME ~ ] # just a colored version of [ $USER@$HOSTNAME ~ ]
PS1='\[\e[47;30m\][ \[\e[3'"$ps_clr"'m\]\u\[\e[30m\]@\h \[\e[32m\w\[\e[30m\] ]\[\e[0m\]\n\$ ' PS1='\[\e[47;30m\][ \[\e[3'"$ps_clr"'m\]\u\[\e[30m\] \h \[\e[32m\w\[\e[30m\] ]\[\e[0m\]\n\$ '
unset ps_clr unset ps_clr
PROMPT_COMMAND=prompt_command PROMPT_COMMAND=prompt_command
# }}} # }}}

View file

@ -184,10 +184,10 @@ for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable
for_window [title="^Cacti - Realtime"] floating enable for_window [title="^Cacti - Realtime"] floating enable
for_window [class="java-lang-Thread"] floating enable for_window [class="java-lang-Thread"] floating enable
# scratchpad # scratchpad
for_window [class="keepassxc"] move scratchpad, scratchpad show for_window [class="KeePassXC"] move scratchpad, scratchpad show
for_window [title="^vimwiki$"] move scratchpad, scratchpad show for_window [title="^vimwiki$"] move scratchpad, scratchpad show
for_window [class="Vpnui"] move scratchpad, scratchpad show for_window [class="Vpnui"] move scratchpad, scratchpad show
bindsym $mod+i [class="keepassxc"] scratchpad show bindsym $mod+i [class="KeePassXC"] scratchpad show
bindsym $mod+n [title="^vimwiki$"] scratchpad show bindsym $mod+n [title="^vimwiki$"] scratchpad show
bindsym $mod+y [class="Vpnui"] scratchpad show bindsym $mod+y [class="Vpnui"] scratchpad show

2
zshrc
View file

@ -72,7 +72,7 @@ bindkey '^x^e' edit-command-line
# }}} # }}}
# {{{ prompt # {{{ prompt
prompt_state_file="/tmp/zsh_gitstatus_$$.tmp" prompt_state_file="/tmp/zsh_gitstatus_$$.tmp"
prompt_ln1='%K{white}%F{black}[ %F{%(!.red.blue)}%n%F{black}@%m:%F{green}%d%F{black} ' prompt_ln1='%K{white}%F{black}[ %F{%(!.red.blue)}%n%F{black} %m:%F{green}%d%F{black} '
prompt_ln2=$']%f%k\n> ' prompt_ln2=$']%f%k\n> '
PROMPT="$prompt_ln1$prompt_ln2" PROMPT="$prompt_ln1$prompt_ln2"
PROMPT2='%K{white}%F{black}[ %_ ]%f%k ' PROMPT2='%K{white}%F{black}[ %_ ]%f%k '