feat tmux: window list style

This commit is contained in:
Yuan Chiu 2025-06-01 19:22:35 +08:00
parent b7768c7630
commit 8df5519f0d
Signed by: yuan
GPG Key ID: 50FBE4156404B98D

View File

@ -70,6 +70,20 @@ set -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,
# set -g status-left "#[bg=colour240]aaaaa #[fg=colour240]#[fg=colour255,bg=colour240] #(whoami) #[fg=black,bg=colour240]"
# set -g status-right "#(date '+%Y-%m-%d %H:%M') #[fg=colour240]#[fg=white,bg=colour240] #(uptime | cut -d ',' -f 1)"
# == StatusBar window Configure ===============================================
# set -g window-status-activity-style "reverse"
# set -g window-status-bell-style "reverse"
# set -g window-status-current-format "#I:#W#F"
# set -g window-status-current-style "default"
# set -g window-status-format "#I:#W#F"
# set -g window-status-last-style "default"
# set -g window-status-separator " "
# set -g window-status-style "default"
set -wg window-status-format "#[fg=gray,bg=default]#[bg=default,fg=gray] #I:#W#{?window_flags,#{window_flags}, } #[fg=gray,bg=default]"
set -wg window-status-current-format "#[fg=blue,bg=default]#[bg=blue,fg=white] #I:#W#{?window_flags,#{window_flags}, } #[fg=blue,bg=default]" # 状态栏当前窗口名称格式(#I序号#w窗口名 称,#F间隔符)
# set -wg window-status-current-style "fg=#d7fcaf,bg=#60875f" # 状态栏当前窗口名称的样式
set -wg window-status-separator " " # 状态栏窗口名称之间的间隔
# == TPM Footer =------========================================================
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'