From d635a6a268cf6dbe98a07e39fddf37ad04a7a437 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 30 Apr 2019 09:11:59 +0300 Subject: [PATCH] .tmux.conf: Update for tmux 2.9 syntax The old syntax has been deprecated since version 1.9. See: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options See: https://man.openbsd.org/tmux.1#STYLES --- .tmux.conf | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index ddce02b..c6d2b73 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -110,27 +110,20 @@ set-option -g default-terminal "screen-256color" #### COLOUR (Solarized dark) # default statusbar colors -set-option -g status-bg black #base02 -set-option -g status-fg yellow #yellow -set-option -g status-attr default +set-option -g status-style "bg=black fg=yellow default" # default window title colors -set-window-option -g window-status-fg brightblue #base0 -set-window-option -g window-status-bg default -#set-window-option -g window-status-attr dim +set-window-option -g window-status-style "fg=brightblue bg=default" # active window title colors -set-window-option -g window-status-current-fg brightred #orange -set-window-option -g window-status-current-bg default -#set-window-option -g window-status-current-attr bright +set-window-option -g window-status-current-style "fg=brightred bg=default" # pane border -set-option -g pane-border-fg black #base02 -set-option -g pane-active-border-fg brightgreen #base01 +set-option -g pane-border-style "fg=black" +set-option -g pane-active-border-style "fg=brightgreen" # message text -set-option -g message-bg black #base02 -set-option -g message-fg brightred #orange +set-option -g message-style "bg=black fg=brightred" # pane number display set-option -g display-panes-active-colour blue #blue