From e5550a61d2e812a54345671340124770371bd890 Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Tue, 1 Sep 2020 21:31:28 -0400 Subject: [PATCH] Revert "adding the option to turn off time on powerline" This reverts commit 288cdc5a99c170048b3489143e34a3198e21a6b2. --- scripts/dracula.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index f2d68c3..54798bd 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -178,13 +178,12 @@ main() tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) " fi - if $show_time; then - if $show_military; then # military time - tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %R ${timezone} " - else - tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p ${timezone} " - fi + if $show_military; then # military time + tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %R ${timezone} " + else + tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p ${timezone} " fi + tmux set-window-option -g window-status-current-format "#[fg=${white},bg=${dark_purple}] #I #W " fi