From 0c64af1eaba43b126e7a3e79bca6066b55a59c72 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 18 Jan 2025 20:11:16 +0100 Subject: [PATCH] tmux/2 --- sh/tmux.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 0317acb..0dce103 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -40,8 +40,14 @@ set-option -g set-titles on # status bar 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}}' -set-option -g status-format[2] '#[fg=cyan]#{pane_current_path}#[align=right] #[fg=yellow]%Y-%m-%d %H:%M:%S' +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}}\ +' +set-option -g status-format[2] '\ +#[fg=cyan]#{pane_current_path}\ +#[align=right]\ + #[fg=yellow]%Y-%m-%d %H:%M:%S\ +' set-option -g status-interval 1 set-option -g status-position top