diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 54798bd..f2d68c3 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -178,12 +178,13 @@ main() tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) " 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} " + 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 fi - tmux set-window-option -g window-status-current-format "#[fg=${white},bg=${dark_purple}] #I #W " fi