tmux/lines

This commit is contained in:
Marc Beninca 2025-01-18 23:39:55 +01:00
parent c8507eb520
commit f0de127e46
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -84,8 +84,13 @@ set-option -g status-bg black
# foreground color
set-option -g status-fg gray
# first line
# line 1
set-option -g status-format[0] '\
#[fg=cyan]#{pane_current_path}\
'
# line 2
set-option -g status-format[1] '\
#{W:\
#{?window_active,#[fg=green],\
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
@ -95,13 +100,13 @@ set-option -g status-format[0] '\
\
}\
#[align=centre]\
#[fg=blue]#{session_name}\
#[fg=default]#{session_name}\
#[align=right] \
#[fg=yellow]%H:%M:%S\
'
# second line
set-option -g status-format[1] '\
# line 3
set-option -g status-format[2] '\
#{P:\
#{?pane_active,#[fg=green],#[fg=default]}\
#{pane_index}\
@ -115,11 +120,6 @@ set-option -g status-format[1] '\
#[fg=yellow]%Y-%m-%d\
'
# third line
set-option -g status-format[2] '\
#[fg=cyan]#{pane_current_path}\
'
# refresh period
set-option -g status-interval 1