Tmux : Fix client count.
This commit is contained in:
parent
0587a9404a
commit
3b9216470d
|
@ -70,7 +70,7 @@ set -g window-size smallest
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
set -g status-style 'bg=yellow fg=black dim'
|
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 '#[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-right-length 50
|
||||||
set -g status-left-length 50
|
set -g status-left-length 50
|
||||||
|
|
Reference in a new issue