diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-10-02 09:55:09 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-10-02 09:55:09 +0200 |
commit | 9eba64edd6ced4a630b612ed4ff28c83a1e29d43 (patch) | |
tree | 79f199d1fac521b03537ac619b128ca79007524a | |
parent | 17418bda2425baa6fd03dca3dda26915ccf9b863 (diff) |
[zsh] Add [vifm] in prompt when appropriate
-rw-r--r-- | feh/.config/feh/keys | 3 | ||||
-rw-r--r-- | i3/.config/i3/config | 3 | ||||
-rw-r--r-- | zsh/.zshrc | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/feh/.config/feh/keys b/feh/.config/feh/keys index fa16ee6..3528efa 100644 --- a/feh/.config/feh/keys +++ b/feh/.config/feh/keys @@ -12,3 +12,6 @@ zoom_in plus zoom_out minus zoom_fill s zoom_fit a + +orient_1 r +reload_image R diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 010808c..fd90b91 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -13,6 +13,9 @@ bindsym $mod+Return exec --no-startup-id i3-sensible-terminal for_window [instance="scratchpad"] move window to scratchpad, scratchpad show bindsym $mod+Shift+Return exec --no-startup-id i3-sensible-terminal -name scratchpad +# Assign applications to certain workspaces +# assign [class="qutebrowser"] 1:qutebrowser + # kill focused window bindsym $mod+d kill @@ -50,6 +50,10 @@ PROMPT='%F{red}[%M]%f %0~ $ ' else PROMPT='%0~ $ ' fi + +if [[ -n $VIFM ]]; then +PROMPT="%F{green}[VIFM]%f $PROMPT" +fi # }}} ## Plugins {{{ [ ! -d ~/.zsh/zgen ] && git clone https://github.com/tarjoilija/zgen.git ~/.zsh/zgen |