瀏覽代碼

✨feat: improved the zoom indicator and added nerdfont icons to the window name

Naz 2 月之前
父節點
當前提交
f5c9b8bd4c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tmux-colorscheme.conf

+ 3 - 3
tmux-colorscheme.conf

@@ -56,7 +56,7 @@ set-option -wg copy-mode-current-match-style "bg=#fe8019,fg=#3c3836"
 # statusbar formatting
 # "#fe8019" MUST be in lowercase here (conflicts with statusline alias otherwise)
 set-option -g status-left "#[bg=#a89984, fg=#3c3836]#{?client_prefix,#[bg=#fe8019],#[bg=#a89984]} #{session_name} "
-set-option -g status-right " #[fg=#FE8019]#{?window_zoomed_flag,  ,}#[bg=#504945, fg=#EBDBB2] %d %b - %I:%M:%S %p #[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#FE8019],#[bg=#A89984]} #{host_short} "
+set-option -g status-right " #[fg=#3c3836, bg=#fe8019]#{?window_zoomed_flag,  zoomed ,}#[bg=#504945, fg=#ebdbb2] %d %b - %i:%m:%s %p #[bg=#a89984, fg=#3c3836]#{?client_prefix,#[bg=#fe8019],#[bg=#a89984]} #{host_short} "
 
-set-option -wg window-status-current-format "#{?window_zoomed_flag,#[fg=default bold],#[fg=default]} #{window_name} "
-set-option -wg window-status-format "#{?window_zoomed_flag,#[fg=default bold],#[fg=default]} #{window_index} "
+set-option -wg window-status-current-format " #{?#{==:#{window_name},nvim},,#{?#{==:#{window_name},newsboat},󰑬,#{?#{==:#{window_name},cargo-watch},󱘗,#{?#{==:#{window_name},cargo},󱘗,}}}} #{window_name} "
+set-option -wg window-status-format " #{window_index} "