1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00

Improve weather config

This commit is contained in:
L3D 2024-07-22 14:48:28 +02:00
parent 932c0817a5
commit ab9be3f63a
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -140,22 +140,10 @@
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",
"tooltip": true, "tooltip": true,
"interval": 900, "interval": 300,
"exec": "{{ swayusr.home }}/.config/waybar/wttr.py", "exec": "{{ swayusr.home }}/.config/waybar/wttr.py",
"return-type": "json" "return-type": "json"
}, },