From f2e786458323939e57d72b93a4bc7ad90274883e Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 3 Oct 2023 13:03:50 +0300 Subject: [PATCH] fix(tmux): use 24h time in statusbar --- config/tmux/tmux.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 566d921..3d0d560 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -114,10 +114,7 @@ set -g @resurrect-strategy-nvim 'session' set -g @resurrect-dir '$HOME/.local/state/tmux/tmux-resurrect' # Modified from tokyonight_storm to include tmux_mode_indicator -set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h #{tmux_mode_indicator}" -if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' { - set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h #{tmux_mode_indicator}" -} +set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h #{tmux_mode_indicator}" # ╭──────────────────────────────────────────────────────────╮ # │ Plugins │