summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobin Seger <pixelkhaos@gmail.com>2025-10-14 07:05:15 +0200
committerGitHub <noreply@github.com>2025-10-14 16:05:15 +1100
commitfe4ebb79b6162d7e5e4e9a00d8a39ff10876fb8c (patch)
treef77520d936b845bd27e47809e941eb83f46187db /config
parentinternal: fix lsp warnings (diff)
downloadcaelestia-shell-fe4ebb79b6162d7e5e4e9a00d8a39ff10876fb8c.tar.gz
caelestia-shell-fe4ebb79b6162d7e5e4e9a00d8a39ff10876fb8c.tar.bz2
caelestia-shell-fe4ebb79b6162d7e5e4e9a00d8a39ff10876fb8c.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/UtilitiesConfig.qml7
1 files changed, 7 insertions, 0 deletions
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<var> provider: ["netbird"]
}
}