From b62b5cc1f65aecb2330298e386686c37a3c1ef3b Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 29 Jan 2016 11:12:25 +0100 Subject: [PATCH] Display additionnal info while run tmux in tty --- tmux.conf.local | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tmux.conf.local b/tmux.conf.local index 67448eb..2c21448 100644 --- a/tmux.conf.local +++ b/tmux.conf.local @@ -48,6 +48,15 @@ set -g pane-border-fg white ## Panel actif set -g pane-active-border-fg "${debianred}" +# right statusbar +# %H:%M:%S : Affiche de l'heure (actualisation lors de manipulation ou en fonction de la valeur de status-interval) +set -g status-right "⚡[#[fg="${darkred}",bright]%H:%M:%S#[default]]" + +# Additionnal info if no display available (aka tty) +# #H: hostname +# #(acpi | cut -d \" \" -f4): display percentage of battery +if '[ -z "$DISPLAY" ]' 'set -g status-right "#H #(acpi | cut -d \" \" -f4) [#[fg="${darkred}",bright]%H:%M:%S#[default]]"' + ### }}} ### keybindings {{{