From 2cd953d40ec15e80bd213f16998c2675779c13a5 Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Mon, 5 Oct 2020 18:54:12 -0400 Subject: [PATCH] Added 24 hour time to prefix + t: Issue #74 --- scripts/dracula.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 10b5a94..179e556 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -83,8 +83,12 @@ main() # sets refresh interval to every 5 seconds tmux set-option -g status-interval $show_refresh - # set clock to 12 hour by default - tmux set-option -g clock-mode-style 12 + # set the prefix + t time format + if $show_military; then + tmux set-option -g clock-mode-style 24 + else + tmux set-option -g clock-mode-style 12 + fi # set length tmux set-option -g status-left-length 100