This commit is contained in:
Dane Williams 2020-03-15 12:59:20 -07:00
parent d8d4ffc580
commit f929834adc
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,8 @@ main()
while true while true
do do
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt
if tmux has-session &> /dev/null; then if tmux has-session &> /dev/null
then
sleep 1000 sleep 1000
else else
break break

View file

@ -49,7 +49,7 @@ forecast_unicode()
display_weather() display_weather()
{ {
if [ $country = 'US' ]; then if [ $country = 'US' ]; then
echo " $(forecast_unicode)$(get_temp)°F" echo "$(forecast_unicode)$(get_temp)°F"
else else
echo '' echo ''
fi fi