initial commit

This commit is contained in:
Belal Elsabbagh
2024-12-18 19:45:33 +02:00
commit 408a1d9f1f
19 changed files with 1523 additions and 0 deletions

5
waybar/wittr.sh Executable file
View 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\"}"