Add an option to disable the location information in the weather

This commit is contained in:
yzenati 2020-10-16 11:56:41 +02:00
parent 8cf4901842
commit f5c0789d07
3 changed files with 16 additions and 11 deletions

View file

@ -21,6 +21,7 @@ main()
show_network=$(get_tmux_option "@dracula-show-network" true)
show_weather=$(get_tmux_option "@dracula-show-weather" true)
show_fahrenheit=$(get_tmux_option "@dracula-show-fahrenheit" true)
show_location=$(get_tmux_option "@dracula-show-location" true)
show_powerline=$(get_tmux_option "@dracula-show-powerline" false)
show_flags=$(get_tmux_option "@dracula-show-flags" false)
show_left_icon=$(get_tmux_option "@dracula-show-left-icon" smiley)
@ -70,7 +71,7 @@ main()
# start weather script in background
if $show_weather; then
$current_dir/sleep_weather.sh $show_fahrenheit &
$current_dir/sleep_weather.sh $show_fahrenheit $show_location &
fi
# Set timezone unless hidden by configuration