Changes for DWL on Arch

This commit is contained in:
2021-05-16 11:31:19 -07:00
parent bd28feb6b8
commit d2386bca8d
6 changed files with 175 additions and 5 deletions

View File

@@ -7,10 +7,11 @@
VOL=$(amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/')
LOCALTIME=$(date +"%Y %h %d %I:%M%p %Z")
IP=$(for i in `ip r`; do echo $i; done | grep -A 1 src | tail -n1)
WEATHER=$(weather fips4105192520 | grep Tempera | awk '{print $2}')
# WEATHER=$(weather fips4105192520 | grep Tempera | awk '{print $2}')
WEATHER=$(curl wttr.in/45.54,-122.83?format="%c%t")
BAT=$(acpi -b | awk '{ print $4 " " $5 }' | tr -d ',')
echo "$IP  ${WEATHER}°F"
echo "$IP  ${WEATHER}"
#sleep 30