From 3f2066b9a9f84c1d7eb15269569f72a744a5f2ad Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 20 Dec 2022 21:50:00 +0200 Subject: Add toggle left status --- .config/tmux/tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index dda0ef7..8297542 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -244,9 +244,11 @@ set -g status-style fg=#50fa7b,bg=black #set -g status-left "#[fg=green] ❐ #S #[default]" ## Left -set -g status-left '' +#set -g status-left '' set -g status-left-length 60 set -g status-left "#[fg=#50fa7b] ❐ #S #( ~/.config/tmux/left-status.sh )" +bind o set-option status-left "#[fg=#50fa7b] ❐ #S" # toggle left-status script off +bind C-o set-option status-left "#[fg=#50fa7b] ❐ #S #( ~/.config/tmux/left-status.sh )" # toggle left status script on #set -g status-left "#[fg=DeepSkyBlue1] ❐ #S #( ~/.config/tmux/left-status.sh )" #set -g status-left "#[fg=black] ❐ #S #( ~/.config/tmux/left-status.sh )" -- cgit v1.2.3