From 3b9216470da14b4edaab6e6bed972b7c7b639feb Mon Sep 17 00:00:00 2001 From: desktop Date: Thu, 4 Jan 2024 22:16:33 +0300 Subject: [PATCH] Tmux : Fix client count. --- .config/tmux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 0a67262..dd700c7 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -70,7 +70,7 @@ set -g window-size smallest set -g status-position bottom set -g status-justify left set -g status-style 'bg=yellow fg=black dim' -set -g status-left ' #H-#S #(count=$(tmux list-clients | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")' +set -g status-left ' #H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")' set -g status-right '#[fg=black,bg=orange] #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ")%Y-%m-%d %H:%M ' set -g status-right-length 50 set -g status-left-length 50