worked on waybar config

This commit is contained in:
Tomas Rivera
2026-02-28 11:51:23 +01:00
parent 25e3032ff6
commit 8fea37feef
4 changed files with 77 additions and 20 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ TEXT2="''$(curl -s "https://wttr.in/?format=%t")"
TEXT2=''${TEXT2/$PATTERN/}
TEXT3="''$(curl -s "https://wttr.in/?format=%f")"
TEXT3=''${TEXT3/$PATTERN/}
printf '{"text":"%s\n%s\n%s", "tooltip": false, "class": "weather"}\n' \
printf '{"text":" %s\\n %s\\n %s", "tooltip": false, "class": "weather"}\\n' \
"$TEXT1" "$TEXT2" "$TEXT3"
'';
}