diff --git a/weather b/weather index a1735de..6dc56e2 100755 --- a/weather +++ b/weather @@ -282,7 +282,9 @@ display_forecast() { curl -fsSL "https://wttr.in/${LAT},${LON}?F" -o /tmp/weather fi - setsid -f st -e less -Srf /tmp/weather + # wil be sent to scratchpad in i3 + st -n weather -e less -Srf /tmp/weather & + i3-msg "[instance=weather scratchpad show" >/dev/null exit 0 }