From 06810cf7eb9e444a94e1decf86e6e0afdbbd1018 Mon Sep 17 00:00:00 2001 From: Quoc-Anh Vu Date: Sun, 7 Apr 2024 06:12:20 -0700 Subject: [PATCH] Fixed incorrect tab formatting when 'window_activity_flag' is set on window --- src/nord-status-content-no-patched-font.conf | 5 ++++- src/nord-status-content.conf | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/nord-status-content-no-patched-font.conf b/src/nord-status-content-no-patched-font.conf index 62ae584..d068dd9 100644 --- a/src/nord-status-content-no-patched-font.conf +++ b/src/nord-status-content-no-patched-font.conf @@ -15,6 +15,9 @@ set -g status-left "#[fg=black,bg=blue,bold] #S " set -g status-right "#{prefix_highlight}#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_DATE_FORMAT} #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]|#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_TIME_FORMAT} #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=cyan,bold] #H " #+--- Windows ---+ -set -g window-status-format " #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack]#W #F" +%hidden NORMAL_FORMAT=" #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack]#W #F" +%hidden ACTIVITY_FORMAT=" #[fg=white,bg=brightblack,bold]#I #[fg=white,bg=brightblack,bold]#W #F" +set -g window-status-format "#{?window_activity_flag,#{E:ACTIVITY_FORMAT},#{E:NORMAL_FORMAT}}" set -g window-status-current-format " #[fg=black,bg=cyan]#I#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F" +set -g window-status-activity-style "" set -g window-status-separator "" diff --git a/src/nord-status-content.conf b/src/nord-status-content.conf index 11980e1..2001606 100644 --- a/src/nord-status-content.conf +++ b/src/nord-status-content.conf @@ -17,6 +17,9 @@ set -g status-left "#[fg=black,bg=blue,bold] #S #[fg=blue,bg=black,nobold,noital set -g status-right "#{prefix_highlight}#[fg=brightblack,bg=black,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_DATE_FORMAT} #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_TIME_FORMAT} #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore]#[fg=black,bg=cyan,bold] #H " #+--- Windows ---+ -set -g window-status-format "#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]" +%hidden NORMAL_FORMAT="#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]" +%hidden ACTIVITY_FORMAT="#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack,bold]#I #[fg=white,bg=brightblack,bold,noitalics,nounderscore] #[fg=white,bg=brightblack,bold]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]" +set -g window-status-format "#{?window_activity_flag,#{E:ACTIVITY_FORMAT},#{E:NORMAL_FORMAT}}" set -g window-status-current-format "#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#I #[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F #[fg=cyan,bg=black,nobold,noitalics,nounderscore]" +set -g window-status-activity-style "" set -g window-status-separator ""