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[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" : ''
|
||||
}"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue