weather scratchpad

This commit is contained in:
spinach 2023-02-26 12:05:16 -05:00
parent 6e263798b4
commit 21f6f7bb5e

View File

@ -282,7 +282,9 @@ display_forecast() {
curl -fsSL "https://wttr.in/${LAT},${LON}?F" -o /tmp/weather curl -fsSL "https://wttr.in/${LAT},${LON}?F" -o /tmp/weather
fi 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 exit 0
} }