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
do
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt
if tmux has-session &> /dev/null; then
if tmux has-session &> /dev/null
then
sleep 1000
else
break

View file

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