commit 5190c42d528e08373a6753ff02987e5672f6978e parent 431f09d0c609261fd02221127601f978cfe531f6 Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de> Date: Sat, 14 Jul 2018 23:28:21 +0200 Disable window-status in tmux Don't like anymore that the status bar gets clustered with window information for many windows, so turned it off. Diffstat:
M | tmux.conf | | | 11 | ++++------- |
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/tmux.conf b/tmux.conf @@ -45,19 +45,16 @@ set -g visual-activity on # show host name and current directory on left side of status bar set -g status-left-length 100 -set -g status-left "#[fg=green]:::: #[fg=white]#(whoami)@#h #[fg=green]:: #[fg=white]#(sh ~/scripts/tmux_pane_current_path.sh #{pane_current_path}) #[fg=green]::" +set -g status-left "#[fg=green]:::: #[fg=white]#(whoami)@#h #[fg=green]:: #[fg=white]#(sh ~/scripts/tmux_pane_current_path.sh #{pane_current_path}) #[fg=green]:: #[fg=white]s#Sw#I:#P #[fg=green]::" # show current date and time on right side of status bar # --> sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' <-- removes all leading and closing whitespaces of a string set -g status-right-length 100 set -g status-right "#[fg=green]:: #[fg=white]#(date --rfc-3339=seconds) #[fg=green]::::" -# set the window info in the middle of the status bar -set -g status-justify centre -setw -g window-status-format "#[fg=green]:: #[fg=white]s#Sw#I:#P #[fg=green]::" -setw -g window-status-current-format "#[fg=green]:: #[fg=white]s#Sw#I:#P #[fg=green]::" -setw -g window-status-current-bg colour235 -setw -g window-status-current-fg white +# Turn off window status +set -g window-status-format "" +set -g window-status-current-format "" # color the status bar set -g status-bg colour235