From 84ece74f4363c0e5fe5b0961d474fa074343d891 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 22 Jan 2025 14:07:37 +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 | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 9049e7f..fc782ef 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -86,14 +86,6 @@ set-option -g status-fg white # line 1 set-option -g status-format[0] '\ -#[fg=cyan]#{pane_current_path}\ - \ -#[align=right]\ -#[fg=yellow]%H:%M:%S\ -' - -# line 2 -set-option -g status-format[1] '\ #{W:\ #[fg=yellow]#{window_index}\ \ @@ -103,11 +95,11 @@ set-option -g status-format[1] '\ \ }\ #[align=right]\ -#[fg=yellow]%Y-%m-%d\ +#[fg=yellow]%H:%M:%S\ ' -# line 3 -set-option -g status-format[2] '\ +# line 2 +set-option -g status-format[1] '\ #[fg=yellow]#(tmux list-sessions | wc --lines) \ #{S:\ \ @@ -118,6 +110,13 @@ set-option -g status-format[2] '\ }\ #[fg=green] #{session_name} \ #[align=right]\ +#[fg=yellow]%Y-%m-%d\ +' + +# line 3 +set-option -g status-format[2] '\ +#[fg=cyan]#{pane_current_path}\ +#[align=right]\ #[fg=yellow]#{host}\ '