forked from ahurac/dotfiles
config/eww ahrc-laptop : style code widget network
This commit is contained in:
parent
6badb08726
commit
8a49491cff
1 changed files with 4 additions and 6 deletions
|
@ -140,12 +140,10 @@
|
||||||
? network-icon["wifi-${network.wifi.signal}"]
|
? network-icon["wifi-${network.wifi.signal}"]
|
||||||
: network-icon[network.state]
|
: network-icon[network.state]
|
||||||
} ${
|
} ${
|
||||||
network.state == "disconnected"
|
network.state == "disconnected" ? "No network" :
|
||||||
? "no network" :
|
network.state == "ethernet" ? "Ethernet" :
|
||||||
network.state == "ethernet"
|
network.state == "wireless" ? network.wifi.ssid :
|
||||||
? "wired" :
|
network.state == "tethering" ? "USB tethering" : ''
|
||||||
network.state == "wireless"
|
|
||||||
? network.wifi.ssid : ''
|
|
||||||
}"
|
}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue