tmux/align

This commit is contained in:
Marc Beninca 2025-01-18 21:26:17 +01:00
parent 73e94d28ac
commit 083b68ab25
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -46,23 +46,27 @@ tmux / \
set-option -g status-bg black set-option -g status-bg black
set-option -g status-fg gray set-option -g status-fg gray
set-option -g status-format[0] '\ set-option -g status-format[0] '\
#[fg=yellow]#{session_name}\ #{W:\
#{W: \
#{?window_active,#[fg=green],\ #{?window_active,#[fg=green],\
#{?window_activity_flag,#[fg=red],#[fg=default]}}\ #{?window_activity_flag,#[fg=red],#[fg=default]}}\
#{window_index} \ #{window_index} \
#{window_name}\ #{window_name}\
#{?window_flags, #{window_flags},}\ #{?window_flags, #{window_flags},}\
\
}\ }\
#[align=center]\
#[fg=yellow]#{session_name}\
#[align=right] \ #[align=right] \
#[fg=yellow]%Y-%m-%d\ #[fg=yellow]%Y-%m-%d\
' '
set-option -g status-format[1] '\ set-option -g status-format[1] '\
#[fg=blue]#{pane_width}×#{pane_height}\ #{P:\
#{P: \
#{?pane_active,#[fg=green],#[fg=default]}\ #{?pane_active,#[fg=green],#[fg=default]}\
#{pane_index}\ #{pane_index}\
\
}\ }\
#[align=center]\
#[fg=blue]#{pane_width}×#{pane_height}\
#[align=right] \ #[align=right] \
#[fg=yellow]%H:%M:%S\ #[fg=yellow]%H:%M:%S\
' '