1
0
Fork 0
forked from ahurac/dotfiles

config/eww ahrc-laptop : style code widget network

This commit is contained in:
Ahurac 2024-06-10 08:39:42 +02:00
parent 6badb08726
commit 8a49491cff

View file

@ -140,12 +140,10 @@
? network-icon["wifi-${network.wifi.signal}"]
: network-icon[network.state]
} ${
network.state == "disconnected"
? "no network" :
network.state == "ethernet"
? "wired" :
network.state == "wireless"
? network.wifi.ssid : ''
network.state == "disconnected" ? "No network" :
network.state == "ethernet" ? "Ethernet" :
network.state == "wireless" ? network.wifi.ssid :
network.state == "tethering" ? "USB tethering" : ''
}"
)