chore: moved to support stow

This commit is contained in:
Elias
2024-06-29 21:33:29 +02:00
parent 59437d7e70
commit 26e1bc4d62
68 changed files with 173 additions and 253 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
LOC="$1"
# HTML encode string as %20
TEMP=$(curl -s 'https://wttr.in/'${LOC}'?format=%t\n&m')
ICON=$(curl -s 'https://wttr.in/'${LOC}'?format=1' | grep -o '^\S*' )
# echo $ICON
echo '{"text": "'$TEMP'", "tooltip": "'$ICON' '$LOC'", "class": "weather" }'