tmux: no status info on methi
Anirudh Oppiliappan x@icyphox.sh
Mon, 07 Mar 2022 11:17:34 +0530
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
home/.tmux.conf
→
home/.tmux.conf
@@ -69,9 +69,11 @@ set -g window-status-format "#[fg=colour8] #W"
set -g @resurrect-strategy-nvim 'session' set -g status-left-length 100 -set -ag status-left "#[fg=colour8]cwd #[fg=colour15]#(prompt -p #{pane_current_path}) " -set -ag status-left "#[fg=colour8]#(prompt -gb #{pane_current_path}) " -set -ag status-left "#[fg=colour15]#(prompt -gs #{pane_current_path})" +if-shell '[[ $HOSTNAME != methi ]]' { + set -ag status-left "#[fg=colour8]cwd #[fg=colour15]#(prompt -p #{pane_current_path}) " + set -ag status-left "#[fg=colour8]#(prompt -gb #{pane_current_path}) " + set -ag status-left "#[fg=colour15]#(prompt -gs #{pane_current_path})" +} # dim inactive pane set -g window-style 'fg=color8,bg=default'