mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Update i3weather
This commit is contained in:
parent
9e27c7a4ac
commit
8e5c11d79e
@ -10,7 +10,7 @@ if [[ "$location" != "" ]]
|
|||||||
then
|
then
|
||||||
location="~${location// /+}"
|
location="~${location// /+}"
|
||||||
fi
|
fi
|
||||||
curl wttr.in/$location > ~/.weatherreport
|
curl -s wttr.in/$location > ~/.weatherreport
|
||||||
|
|
||||||
echo -n ☔ $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e '$!d')
|
echo -n ☔ $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e '$!d')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user