Add an option to disable the location information in the weather
This commit is contained in:
parent
8cf4901842
commit
f5c0789d07
3 changed files with 16 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue