Quickshell


NetworkDevice: QtObject

uncreatable
import Quickshell.Networking

When Go to type is Wifi, the device is a WifiDevice, which can be used to scan for and connect to access points.

Properties [?]

  • state DeviceConnectionState
    readonly

    Connection state of the device.

  • type DeviceType
    readonly

    The device type.

  • address string
    readonly

    The hardware address of the device in the XX:XX:XX:XX:XX:XX format.

  • name string
    readonly

    The name of the device’s control interface.

  • connected bool
    readonly

    True if the device is connected.

  • autoconnect bool

    True if the device is allowed to autoconnect.

  • nmState NMDeviceState
    readonly

    A more specific device state when the backend is NetworkManager.

Functions [?]

  • disconnect() void

    Disconnects the device and prevents it from automatically activating further connections.