From 98d7f843d135cefde7f6fbe4e6317d4d86be8fd2 Mon Sep 17 00:00:00 2001 From: cappyzawa Date: Fri, 5 Jan 2024 04:29:53 +0900 Subject: [PATCH] update --- .tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index da25bcfb..94c3caae 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -93,7 +93,7 @@ set-environment -g PATH "/usr/local/bin:/bin:/usr/bin" TMUX_FZF_SED="/usr/local/opt/gnu-sed/libexec/gnubin/sed" # TokyoNight colors for Tmux -# https://github.com/folke/tokyonight.nvim/blob/14ab22b51d0f54de3402bd706e9e91836de39a92/extras/tmux/tokyonight_night.tmux +# https://github.com/folke/tokyonight.nvim/blob/f247ee700b569ed43f39320413a13ba9b0aef0db/extras/tmux/tokyonight_night.tmux set -g mode-style "fg=#7aa2f7,bg=#3b4261" @@ -116,6 +116,9 @@ set -g status-right-style NONE set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]" set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h " +if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' { + set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h " +} setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e" setw -g window-status-separator ""