From 030a75186d67fe9208137d0364142debe4bb1e34 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 17 Jul 2019 10:43:01 +0200 Subject: [PATCH] Fix migration to 2.9 and removed options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See : https://github.com/tmux/tmux/blob/2.9/CHANGES#L45 https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options --- tmux.conf.local | 58 ++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/tmux.conf.local b/tmux.conf.local index 6106999..8ad5517 100644 --- a/tmux.conf.local +++ b/tmux.conf.local @@ -1,33 +1,33 @@ ### statusbar {{{ -# forground color -set -g status-fg "${debianred}" -# background color -set -g status-bg black +# Attribut list {{{ +## bright/bold: +## dim: +## underscore: +## blink: clignotant +## reverse: reverse background and foreground colors +## hidden: +## italics: +## overline: Needs Smol extension, see the manual +## strikethrough: barré +## double-underscore: +## curly-underscore: +## dotted-underscore: +## dashed-underscore: +# }}} -## Terminaux par défaut -# Window foreground color -set-window-option -g window-status-fg "${debianred}" -# Window background color -set-window-option -g window-status-bg "${darkgrey}" -# Attribut -#bright/bold: -#dim: -#underscore: -#blink: "clignotant"? -#reverse: reverse background and foreground colors -#hidden: -#italics: -set-window-option -g window-status-attr bold +# Status line style +## BackGround and ForeGround +set -g status-style fg="${debianred}",bg=black -## Terminal actif -# Current windows foreground color -set-window-option -g window-status-current-fg black -# Current windows background color -set-window-option -g window-status-current-bg "${debianred}" -# Attribut (cf ci-dessus pour la liste) -set-window-option -g window-status-current-attr dim +# Status line style for a single window +## BackGround, ForeGround and attribut +set -g window-status-style bg="${darkgrey}",fg="${debianred}",bold + +# Status line style for the currently active window +## BackGround, ForeGround and attribut +set -g window-status-current-style bg="${debianred}",fg=black,dim # selection set -wg mode-style bg="${debianred}",fg=white,bold @@ -42,11 +42,11 @@ set -g clock-mode-colour "${debianred}" #setw -g window-status-alert-fg red #setw -g window-status-alert-bg default -## Panel par défaut -set -g pane-border-fg white +# Pane border style for panes aside the active one +set -g pane-border-style fg=white -## Panel actif -set -g pane-active-border-fg "${debianred}" +# Pane border style for the currently active pane +set -g pane-active-border-style fg="${debianred}" # right statusbar # %H:%M:%S : Affiche de l'heure (actualisation lors de manipulation ou en fonction de la valeur de status-interval)