From 21f6f7bb5e6dbf04a85f75602f061a33106cf60d Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Sun, 26 Feb 2023 12:05:16 -0500 Subject: [PATCH] weather scratchpad --- weather | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }