config/eww : mise à jour (encore ?)

This commit is contained in:
Ahurac 2024-06-10 09:07:32 +02:00
parent e7fb72af67
commit 5cbbcda515

View file

@ -124,13 +124,14 @@
(box (eventbox (box (eventbox
:onscroll 'action/volume "{}"' :onscroll 'action/volume "{}"'
:onclick 'hyprctl dispatch exec pavucontrol' :onclick 'hyprctl dispatch exec pavucontrol'
:onrightclick 'pamixer --toggle-mute'
"${ "${
sound.output-muted == true ? sound-icon["muted"] : sound.output-muted == true ? sound-icon["muted"] :
sound.output-volume < 33 ? sound-icon["absent"] : sound.output-volume < 33 ? sound-icon["absent"] :
sound.output-volume < 67 ? sound-icon["moderate"] : sound.output-volume < 67 ? sound-icon["moderate"] :
sound-icon["loud"] sound-icon["loud"]
} ${sound.output-volume} %" } ${sound.output-volume} % ${sound.sink-name}"
)) ))
) )