config/eww : mise à jour (encore ?)
This commit is contained in:
parent
e7fb72af67
commit
5cbbcda515
1 changed files with 3 additions and 2 deletions
|
@ -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}"
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -139,7 +140,7 @@
|
||||||
network.state == "wireless"
|
network.state == "wireless"
|
||||||
? network-icon["wifi-${network.wifi.signal}"]
|
? network-icon["wifi-${network.wifi.signal}"]
|
||||||
: network-icon[network.state]
|
: network-icon[network.state]
|
||||||
} ${
|
} ${
|
||||||
network.state == "disconnected" ? "No network" :
|
network.state == "disconnected" ? "No network" :
|
||||||
network.state == "ethernet" ? "Ethernet" :
|
network.state == "ethernet" ? "Ethernet" :
|
||||||
network.state == "wireless" ? network.wifi.ssid :
|
network.state == "wireless" ? network.wifi.ssid :
|
||||||
|
|
Loading…
Reference in a new issue