nosignal-shell/config/UtilitiesConfig.qml
Robin Seger fe4ebb79b6
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
2025-10-14 16:05:15 +11:00

33 lines
910 B
QML

import Quickshell.Io
JsonObject {
property bool enabled: true
property int maxToasts: 4
property Sizes sizes: Sizes {}
property Toasts toasts: Toasts {}
property Vpn vpn: Vpn {}
component Sizes: JsonObject {
property int width: 430
property int toastWidth: 430
}
component Toasts: JsonObject {
property bool configLoaded: true
property bool chargingChanged: true
property bool gameModeChanged: true
property bool dndChanged: true
property bool audioOutputChanged: true
property bool audioInputChanged: true
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"]
}
}