From c034066e7af58963b7e3ba1a19f0943d2b86f7bf Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Wed, 18 Sep 2019 21:47:49 +0200 Subject: [PATCH] Update (and improve) tmux colors Some options where renamed in the latest version of tmux (e.g. window-status-bg -> window-status-style). --- dotfiles/.tmux.conf | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index 4266467..f279a69 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -55,31 +55,20 @@ set-environment -gu SHLVL # # Colors # -set -g status-fg colour3 # Yellow -setw -g window-status-bg default # transparent -setw -g window-status-current-fg colour9 # Orange -setw -g window-status-current-bg default # transparent +set -g status-fg colour3 # Yellow +set -g status-bg colour0 # Base02 +setw -g window-status-style fg=colour12,bg=default # Base0 on Transparent +setw -g window-status-current-style fg=colour9,bg=default # Orange on Transparent +set -g pane-border-style fg=colour0 # Base02 +set -g pane-active-border-style fg=colour14 # Base1 %if #{==:#{BACKGROUND},light} - # statusbar colors - set -g status-bg colour7 # Base2 - - # window title colors - setw -g window-status-fg colour11 # Base00 - - # pane border - set -g pane-border-fg colour7 # Base2 - set -g pane-active-border-fg colour10 # Base01 -%else - # statusbar colors - set -g status-bg colour0 # Base02 - - # window title colors - setw -g window-status-fg colour12 # Base0 - - # pane border - set -g pane-border-fg colour0 # Base02 - set -g pane-active-border-fg colour14 # Base1 + set -g status-fg colour13 # Violet + set -g status-bg colour7 # Base2 + setw -g window-status-style fg=colour11,bg=default # Base00 on Transparent + setw -g window-status-current-style fg=colour5,bg=default # Magenta on Transparent + set -g pane-border-style fg=colour7 # Base2 + set -g pane-active-border-style fg=colour10 # Base01 %endif # Fix for clipboard in vim running inside tmux: