From f0f0bb5bc916931ef698be4414f8e0e5fe3566c1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 18 Jan 2025 20:15:55 +0100 Subject: [PATCH] tmux/1 --- sh/tmux.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 0dce103..c1bd3b1 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -41,12 +41,24 @@ set-option -g set-titles on set-option -g status-bg black set-option -g status-fg gray set-option -g status-format[1] '\ -#[fg=yellow]#{session_name}#{W: #{?window_active,#[fg=green],#[fg=default]}#{window_index}#{?window_flags,#{window_flags}, } #{window_name}}#[align=right] #[fg=blue]#{pane_width}×#{pane_height}#{P: #{?pane_active,#[fg=green],#[fg=default]}#{pane_index}}\ +#[fg=yellow]#{session_name}\ +#{W: \ +#{?window_active,#[fg=green],#[fg=default]}\ +#{window_index}\ +#{?window_flags,#{window_flags}, } \ +#{window_name}\ +}\ +#[align=right] \ +#[fg=blue]#{pane_width}×#{pane_height}\ +#{P: \ +#{?pane_active,#[fg=green],#[fg=default]}\ +#{pane_index}\ +}\ ' set-option -g status-format[2] '\ #[fg=cyan]#{pane_current_path}\ -#[align=right]\ - #[fg=yellow]%Y-%m-%d %H:%M:%S\ +#[align=right] \ +#[fg=yellow]%Y-%m-%d %H:%M:%S\ ' set-option -g status-interval 1 set-option -g status-position top