feat tmux: add window count

This commit is contained in:
Yuan Chiu 2025-06-01 23:10:15 +08:00
parent 24e7cc06ed
commit a32d7af6fe
Signed by: yuan
GPG Key ID: 50FBE4156404B98D

View File

@ -67,7 +67,7 @@ set -g status-right-length 100
set -g status-bg default
set -g status-fg white
set -g status-style "bg=black,fg=white"
set -g status-left "#{tmux_mode_indicator}#[fg=black,bg=yellow]#[fg=black,bg=yellow] ❐ #{session_name} #[fg=yellow,bg=white]#[fg=black,bg=white]#[range=user|new] + #[norange]#[fg=white,bg=default] "
set -g status-left "#{tmux_mode_indicator}#[fg=black,bg=yellow]#[fg=black,bg=yellow] ❐ #{session_name} #[fg=yellow,bg=white]#[fg=black,bg=white]#[range=user|new]  #[norange]#[fg=white,bg=default]  #(tmux list-windows -t #{session_name} | wc -l): "
set -g status-right "#[fg=gray,bg=default] ⇄ #{net_speed} #[bg=default,fg=cyan]#[fg=black,bg=cyan]  #{df_avail} #[fg=pink,bg=cyan]#[fg=black,bg=pink] #{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,}\"#{=21:pane_title}\" #[fg=white,bg=pink]#[bg=white,fg=black]  #{uptime}  %H:%M:%S "
# set -g status-left '#{tmux_mode_indicator}#[fg=colour240]#(whoami)'
# set -g status-left '#{tmux_mode_indicator}#[fg=colour240]#[fg=colour255,bg=colour240] #(whoami) #[fg=colour240,bg=default]'