From fe4ebb79b6162d7e5e4e9a00d8a39ff10876fb8c Mon Sep 17 00:00:00 2001 From: Robin Seger Date: Tue, 14 Oct 2025 07:05:15 +0200 Subject: feat: VPN toggle (#689) * feat: configurable VPN toggle for Wireguard - Added VPN service for wg-quick - Added VPN toggle to utilities quick toggles - Configuration in UtilitiesConfig (enabled, connectionName) * fix: monitoring and toasts - Using nmcli monitor for state detection instead of polling - Added VPN toast notifications * fix: use polkit * feat: multi-provider VPN support - Added support for netbird and tailscale providers - Universal interface detection using ip link show - Provider-specific privilege handling (pkexec only for wireguard) - Updated README with VPN configuration examples * feat: less hardcoded, configurable providers * removed comments * code style changes * reorganize signal handler --- config/UtilitiesConfig.qml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') diff --git a/config/UtilitiesConfig.qml b/config/UtilitiesConfig.qml index 3094efa..0c48034 100644 --- a/config/UtilitiesConfig.qml +++ b/config/UtilitiesConfig.qml @@ -6,6 +6,7 @@ JsonObject { property Sizes sizes: Sizes {} property Toasts toasts: Toasts {} + property Vpn vpn: Vpn {} component Sizes: JsonObject { property int width: 430 @@ -22,5 +23,11 @@ JsonObject { property bool capsLockChanged: true property bool numLockChanged: true property bool kbLayoutChanged: true + property bool vpnChanged: true + } + + component Vpn: JsonObject { + property bool enabled: false + property list provider: ["netbird"] } } -- cgit v1.2.3-freya