mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +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"
|
||||
},
|
||||
"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": {
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
"interval": 900,
|
||||
"interval": 300,
|
||||
"exec": "{{ swayusr.home }}/.config/waybar/wttr.py",
|
||||
"return-type": "json"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue