Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
63fe5901e9 tmux: more compact status-right 2025-07-04 22:51:34 +02:00
99cb0e7cd2 tmux: new status-line 2025-07-04 22:51:34 +02:00

View file

@ -102,32 +102,42 @@ set-environment -gu SHLVL
#
# Style (status list, colors, ...)
#
set -g status-left ' ' # 󰄴 󰣕 󰬫 󰻃 󰪥 󰬪    󰡖 󰄱
set -g status-right '\
#[fg=brightblack] \
#{?client_prefix,#[fg=brightyellow],#[fg=brightblack]}#{pane_id}\
#[fg=brightblack]  \
#{?client_prefix,#[fg=brightyellow],#[fg=brightblack]}#{session_name}\
#[fg=brightblack]  \
#{?client_prefix,#[fg=brightyellow],#[fg=brightblack]}#{pid} @ #{host_short} '
background="#1d2021"
highlight="#b57614"
current_badge="#076678"
current_bg="#003848"
current_fg="#83a598"
window_badge="#504945"
window_fg="#7c6f64"
setw -g window-status-current-format '\
#{?client_prefix,#[fg=brightyellow],#[fg=brightcyan]}#{window_index} \
#[bold]#[fg=blue]#{window_name}#[nobold] \
#{?client_prefix,#[fg=brightyellow],#[fg=brightcyan]}\
#{?pane_synchronized,󰵉 ,}#{?window_marked_flag,󰄵 ,}#{?window_zoomed_flag, ,}\
#[fg=brightblack]'
setw -g window-status-format '\
#{?client_prefix,#[fg=brightyellow],#{?window_last_flag,#[fg=cyan],#[fg=brightblack]}}\
#{window_index} \
#[fg=brightblack]#{window_name} \
#{?pane_synchronized,󰵉 ,}#{?window_marked_flag,󰄵 ,}#{?window_zoomed_flag, ,}\
#[fg=brightblack]'
set -g status-justify left
set -g status-style fg=white,bg=black
set -g pane-border-style fg=black
set -g pane-active-border-style fg=brightblue
set -g message-style fg=brightwhite,bg=black
set -g message-command-style fg=yellow,bg=black
set -g status-style bg=${background}
set -g status-justify left
set -g status-left ""
flags="#{?pane_synchronized,󰵉 ,}#{?window_marked_flag,󰄵 ,}#{?window_zoomed_flag, ,}"
setw -g window-status-format "\
#[fg=${background} bg=#{?client_prefix,${highlight},${window_badge}} bold] #{window_index} \
#[fg=#{?window_last_flag,${current_fg},${window_fg}} bg=${background} nobold] #{window_name} ${flags}\
#[default] "
setw -g window-status-current-format "\
#[fg=${background} bg=#{?client_prefix,${highlight},${current_badge}} bold] #{window_index} \
#[fg=${current_fg} bg=${current_bg} nobold] #{window_name} ${flags}\
#[default] "
box_begin="#[fg=${background} bg=#{?client_prefix,${highlight},${window_badge}} bold] "
box_mid="#[fg=${window_fg} bg=${background} nobold]"
box_end="#[default]"
set -g status-right-length 64
set -g status-right "\
${box_begin}󰈷 ${box_mid} #{pane_id} ${box_end} \
${box_begin} ${box_mid} #{session_name} ${box_end} \
${box_begin} ${box_mid} #{pid} ${box_end} \
${box_begin}󱡶 ${box_mid} #{host_short} ${box_end}"