network: add wlx to possible device names

This commit is contained in:
alfrix 2024-01-10 18:33:42 -03:00
parent a72328224b
commit bd18924f1d

View File

@ -21,7 +21,7 @@ class Panel(ScreenPanel):
self.network_interfaces = netifaces.interfaces()
self.wireless_interfaces = [
iface for iface in self.network_interfaces
if iface.startswith('wlan') or iface.startswith('wlp')
if iface.startswith('wlan') or iface.startswith('wlp') or iface.startswith('wlx')
]
self.wifi = None
self.use_network_manager = os.system('systemctl is-active --quiet NetworkManager.service') == 0