import Quickshell.Networking An interface to a network backend (currently only NetworkManager), which can be used to view, configure, and connect to various networks.
State of the rfkill hardware block of all wireless devices.
Switch for the rfkill software block of all wireless devices.
True if the backend supports connectivity checks.
True if connectivity checking is enabled.
The backend being used to power the Network service.
A list of all network devices. Networks are exposed through their respective devices.
The result of the last connectivity check.
Connectivity checks may require additional configuration depending on your distro.
NOTE
This property can be used to determine if network access is restricted or gated behind a captive portal.
If checking for captive portals, checkConnectivity() should be called after the portal is dismissed to update this property.
Re-check the network connectivity state immediately.
NOTE
This should be invoked after a user dismisses a web browser that was opened to authenticate via a captive portal.