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:
parent
932c0817a5
commit
ab9be3f63a
1 changed files with 1 additions and 13 deletions
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue