Only display date and time on local tmux session

This commit is contained in:
Dreaded_X 2024-04-13 02:25:04 +02:00
parent 0ec44b1306
commit f2d0e639b4
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -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],} \