diff --git a/weather b/weather index cce540a..467c603 100755 --- a/weather +++ b/weather @@ -276,16 +276,9 @@ display_forecast() { exit 1 fi - FORECAST="curl -fsSL https://wttr.in/${LAT},${LON}" + curl -fsSL "https://wttr.in/${LAT},${LON}_.png">/tmp/weather.png - if [[ ! -z "$TMUX" ]] ; then - # can display in a popup - tmux display-popup "echo 'Grabbing forecast...'; $FORECAST" - else - $FORECAST >/tmp/weather - weather="/tmp/weather" - setsid -f st -e less -Srf "$weather" - fi + setsid -f feh -F /tmp/weather.png exit 0 }