diff --git a/tmux/gruvbox.conf b/tmux/gruvbox.conf index 5e9dac9..d10d3e5 100644 --- a/tmux/gruvbox.conf +++ b/tmux/gruvbox.conf @@ -49,6 +49,10 @@ set-window-option -g window-status-separator "" set-option -g status-left "#[bg=$header,fg=$dark0,bold] #S " set-option -g status-right "#{?$wg_is_keys_off,  ,}#[bg=$background,fg=$secondary]#[bg=$secondary,fg=$light1] %Y-%m-%d #[fg=$light4]#[fg=$light1] %H:%M #[bg=$secondary,fg=$header]#[bg=$header,fg=$dark0,bold] #h " +# Override status-right if we are connected over ssh +if-shell 'test -n "$SSH_CLIENT"' \ + 'set-option -g status-right "#[bg=$background,fg=$header]#[bg=$header,fg=$dark0,bold] #h "' + set-window-option -g window-status-current-format "\ #[bg=$current_color]#{?window_start_flag,#[fg=$header],#[fg=$background]}\ #[fg=$dark0] #I  #W#{?window_zoomed_flag, [Z],} \