Merge pull request #1 from ethancedwards8/master

adding the option to turn off time on powerline
This commit is contained in:
osdamv 2020-08-07 07:02:16 -06:00 committed by GitHub
commit 882b16d1e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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_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