From 67803f31b8a85f268b08f87e58b48a8cb79db8d5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 19 Jan 2025 19:40:45 +0100 Subject: [PATCH] =?UTF-8?q?tmux/=E2=86=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/tmux.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 91b1f2c..1f8c5d4 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -99,6 +99,23 @@ set-option -g status-format[0] '\ # line 2 set-option -g status-format[1] '\ #[fg=default]│\ +#{P:\ +#{?pane_active,#[fg=green],#[fg=default]}\ + \ +#{pane_index}\ + \ +#{pane_current_command}\ + \ +}\ + \ +#[align=right]\ + #[fg=yellow]%Y-%m-%d\ + #[fg=default]│\ +' + +# line 3 +set-option -g status-format[2] '\ +#[fg=default]│\ #{W:\ #{?window_active,#[fg=green],\ #{?window_activity_flag,#[fg=red],#[fg=default]}}\ @@ -116,23 +133,6 @@ set-option -g status-format[1] '\ #[fg=default]│\ ' -# line 3 -set-option -g status-format[2] '\ -#[fg=default]│\ -#{P:\ -#{?pane_active,#[fg=green],#[fg=default]}\ - \ -#{pane_index}\ - \ -#{pane_current_command}\ - \ -}\ - \ -#[align=right]\ - #[fg=yellow]%Y-%m-%d\ - #[fg=default]│\ -' - # line 4 set-option -g status-format[3] '\ #[fg=default]│\