From c136f69a098c3747fee9626da934584c69d9192c Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 23 Jul 2026 13:22:15 +0545 Subject: [PATCH] fix(indicators): ignore Disconnected SSID from WiFi display --- src/window/panel/components/indicators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window/panel/components/indicators.py b/src/window/panel/components/indicators.py index 1bf37b9..db72eed 100644 --- a/src/window/panel/components/indicators.py +++ b/src/window/panel/components/indicators.py @@ -240,7 +240,7 @@ class NetworkIndicator(Box): wifi = self.network_service.wifi_device if not wifi.enabled: wlan_state = "disabled" - elif wifi.ssid: + elif wifi.ssid and wifi.ssid != "Disconnected": wlan_state = f"connected:{wifi.ssid}" if wifi.strength >= 0: wlan_state += f":{wifi.strength}%" @@ -275,7 +275,7 @@ class NetworkIndicator(Box): if not wifi.enabled: icon_file = "wifi-off-clear.svg" tooltip = "WiFi disabled" - elif wifi.ssid: + elif wifi.ssid and wifi.ssid != "Disconnected": wifi_icon_path = get_wifi_icon_for_strength(wifi.strength) self.network_icon.set_from_file(wifi_icon_path) tooltip = f"Connected to {wifi.ssid}"