weather scratchpad
This commit is contained in:
parent
6e263798b4
commit
21f6f7bb5e
4
weather
4
weather
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user