tmux/frame

This commit is contained in:
Marc Beninca 2025-01-19 16:55:58 +01:00
parent d0ffe4dc47
commit ace049b56f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -86,14 +86,17 @@ set-option -g status-fg gray
# line 1
set-option -g status-format[0] '\
\
#[fg=cyan]#{pane_current_path}\
#[align=right] \
#[fg=default]#{pane_current_command} \
#[fg=yellow]%H:%M:%S\
\
'
# line 2
set-option -g status-format[1] '\
\
#{W:\
#{?window_active,#[fg=green],\
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
@ -104,10 +107,12 @@ set-option -g status-format[1] '\
#[align=right] \
#[fg=green]#{session_name} \
#[fg=default]#(tmux list-sessions | wc --lines)\
\
'
# line 3
set-option -g status-format[2] '\
\
#{P:\
#{?pane_active,#[fg=green],#[fg=default]}\
#{pane_index}\
@ -117,10 +122,12 @@ set-option -g status-format[2] '\
}\
#[align=right] \
#[fg=yellow]%Y-%m-%d\
\
'
# line 4
set-option -g status-format[3] '\
\
#{P:\
#{?pane_active,#[fg=green],#[fg=default]}\
#{pane_index}\
@ -130,12 +137,16 @@ set-option -g status-format[3] '\
}\
#[align=right] \
#[fg=blue]#{window_width}×#{window_height}\
\
'
# line 5
set-option -g status-format[4] '\
\
#[align=centre]\
#{host}\
#[align=right]\
\
'
# refresh period