dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Deps:
|
||||
# curl
|
||||
|
||||
|
||||
get_weather()
|
||||
{
|
||||
curl -s v2.wttr.in | grep -e "Weather" | sed -n 2p | sed s/Weather://g | sed 's/,//g' | sed 's/+//g' | sed 's/°C.*/°C/' | sed 's/.*m//'
|
||||
}
|
||||
|
||||
|
||||
if [ $(( 10#$(date '+%S') % 30 )) -eq 0 ]; then
|
||||
get_weather
|
||||
fi
|
||||
Reference in new issue
Block a user