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
:onscroll 'action/volume "{}"'
:onclick 'hyprctl dispatch exec pavucontrol'
:onrightclick 'pamixer --toggle-mute'
"${
sound.output-muted == true ? sound-icon["muted"] :
sound.output-volume < 33 ? sound-icon["absent"] :
sound.output-volume < 67 ? sound-icon["moderate"] :
sound-icon["loud"]
} ${sound.output-volume} %"
} ${sound.output-volume} % ${sound.sink-name}"
))
)
@ -139,7 +140,7 @@
network.state == "wireless"
? network-icon["wifi-${network.wifi.signal}"]
: network-icon[network.state]
} ${
} ${
network.state == "disconnected" ? "No network" :
network.state == "ethernet" ? "Ethernet" :
network.state == "wireless" ? network.wifi.ssid :