From f0de127e467895cac50ec184406b4ce6b79a7a8b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 18 Jan 2025 23:39:55 +0100 Subject: [PATCH] tmux/lines --- sh/tmux.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 0468c6a..79ee315 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -84,8 +84,13 @@ set-option -g status-bg black # foreground color set-option -g status-fg gray -# first line +# line 1 set-option -g status-format[0] '\ +#[fg=cyan]#{pane_current_path}\ +' + +# line 2 +set-option -g status-format[1] '\ #{W:\ #{?window_active,#[fg=green],\ #{?window_activity_flag,#[fg=red],#[fg=default]}}\ @@ -95,13 +100,13 @@ set-option -g status-format[0] '\ \ }\ #[align=centre]\ -#[fg=blue]#{session_name}\ +#[fg=default]#{session_name}\ #[align=right] \ #[fg=yellow]%H:%M:%S\ ' -# second line -set-option -g status-format[1] '\ +# line 3 +set-option -g status-format[2] '\ #{P:\ #{?pane_active,#[fg=green],#[fg=default]}\ #{pane_index}\ @@ -115,11 +120,6 @@ set-option -g status-format[1] '\ #[fg=yellow]%Y-%m-%d\ ' -# third line -set-option -g status-format[2] '\ -#[fg=cyan]#{pane_current_path}\ -' - # refresh period set-option -g status-interval 1