import Quickshell.Networking The type property may be used to determine if this device is a WifiDevice or WiredDevice.
The device type.
When the device type is Wifi, the device object is a WifiDevice.
When the device type is Wired, the device object is a WiredDevice.
connection and scanning.
True if the device is allowed to autoconnect to a network.
True if the device is connected.
The name of the device’s control interface.
A list of available or connected networks for this device.
When the device type is ‘Wifi’, this model will only contain WifiNetwork.
Connection state of the device.
The hardware address of the device in the XX:XX:XX:XX:XX:XX format.
Disconnects the device and prevents it from automatically activating further connections.