sidebar: wifi menu: public wifi login page button

This commit is contained in:
end-4
2025-08-29 07:29:14 +02:00
parent d239ab6b1f
commit 41e1e89696
2 changed files with 32 additions and 12 deletions
@@ -62,6 +62,10 @@ Singleton {
if (active) disconnectProc.exec(["nmcli", "connection", "down", active.ssid]);
}
function openPublicWifiPortal() {
Quickshell.execDetached(["xdg-open", "https://nmcheck.gnome.org/"]) // From some StackExchange thread, seems to work
}
function changePassword(network: WifiAccessPoint, password: string, username = ""): void {
// TODO: enterprise wifi with username
network.askingPassword = false;