Only display date and time on local tmux session
This commit is contained in:
parent
0ec44b1306
commit
f2d0e639b4
|
@ -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],} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user