mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
wicons: wifi: also check for connected status
This commit is contained in:
@@ -24,9 +24,9 @@ Singleton {
|
||||
property string internetIcon: {
|
||||
if (Network.ethernet)
|
||||
return "ethernet";
|
||||
if (Network.wifiEnabled) {
|
||||
if (Network.wifiEnabled && Network.wifiStatus === "connected") {
|
||||
const strength = Network.networkStrength;
|
||||
return wifiIconForStrength(strength);
|
||||
return root.wifiIconForStrength(strength);
|
||||
}
|
||||
if (Network.wifiStatus === "connecting")
|
||||
return "wifi-4";
|
||||
|
||||
Reference in New Issue
Block a user