From 731f2088a89ad4944742447af02312fc691f0e07 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 20 Jan 2025 11:44:52 +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 | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index f02be4c..efd4131 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -110,34 +110,6 @@ set-option -g status-format[1] '\ # line 3 set-option -g status-format[2] '\ -#{P:\ - \ -#[fg=yellow]#{pane_index}\ - \ -#{?pane_active,#[fg=green],#[fg=blue]}\ -#{pane_current_command}\ - \ -}\ -#[align=right]\ -#[fg=yellow]%Y-%m-%d\ -' - -# line 4 -set-option -g status-format[3] '\ -#{P:\ - \ -#[fg=yellow]#{pane_index}\ - \ -#{?pane_active,#[fg=green],#[fg=blue]}\ -#{pane_width}×#{pane_height}\ - \ -}\ -#[align=right]\ -#[fg=blue] #{window_width}×#{window_height}\ -' - -# line 5 -set-option -g status-format[4] '\ #{S:\ \ #[fg=yellow]#{s/\\\$//:session_id}\ @@ -152,6 +124,34 @@ set-option -g status-format[4] '\ #[fg=yellow]#{host}\ ' +# line 4 +set-option -g status-format[3] '\ +#{P:\ + \ +#[fg=yellow]#{pane_index}\ + \ +#{?pane_active,#[fg=green],#[fg=blue]}\ +#{pane_current_command}\ + \ +}\ +#[align=right]\ +#[fg=yellow]%Y-%m-%d\ +' + +# line 5 +set-option -g status-format[4] '\ +#{P:\ + \ +#[fg=yellow]#{pane_index}\ + \ +#{?pane_active,#[fg=green],#[fg=blue]}\ +#{pane_width}×#{pane_height}\ + \ +}\ +#[align=right]\ +#[fg=blue] #{window_width}×#{window_height}\ +' + # refresh period set-option -g status-interval 1