Initial
This commit is contained in:
commit
c8734e660a
392 changed files with 21043 additions and 0 deletions
5
.config/waybar/scripts/wittr.sh
Normal file
5
.config/waybar/scripts/wittr.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/sh
|
||||
req=$(curl -s wttr.in/CITY?format="%t|%l+(%c%f)+%h,+%C")
|
||||
bar=$(echo $req | awk -F "|" '{print $1}')
|
||||
tooltip=$(echo $req | awk -F "|" '{print $2}')
|
||||
echo "{\"text\":\"$bar\", \"tooltip\":\"$tooltip\"}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue