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