1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-18 17:15:20 -04:00

feat: add battery settings tab and update battery widget interactions (#2634)

* feat: add battery settings tab and update battery widget interactions

* fix: import Quickshell.Io in BatteryTab.qml to fix Process type compilation error

* feat: move battery tab under media player and add notify when charge limit reached option

* chore: change default notification settings to false

* feat: move battery tab under Power & Security section in settings

* feat: add notification type button selection for battery alerts
This commit is contained in:
Huỳnh Thiện Lộc
2026-06-18 07:29:23 +07:00
committed by GitHub
parent d5ac0c9aa0
commit 480ffa4ac2
7 changed files with 409 additions and 21 deletions
+5
View File
@@ -598,6 +598,11 @@ Singleton {
property string batteryProfileName: ""
property int batteryPostLockMonitorTimeout: 0
property int batteryChargeLimit: 100
property bool batteryNotifyChargeLimit: false
property int batteryLowThreshold: 20
property bool batteryNotifyLow: false
property int batteryNotificationType: 0
property bool batteryAutoPowerSaver: false
property bool lockBeforeSuspend: false
property bool loginctlLockIntegration: true
property bool fadeToLockEnabled: true