1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

idle: add option to prevent idle when mpris is playing

This commit is contained in:
bbedward
2025-11-09 11:01:32 -05:00
parent d309957927
commit 1524d27f4c
14 changed files with 559 additions and 74 deletions

View File

@@ -224,6 +224,7 @@ Singleton {
property int batterySuspendTimeout: 0
property int batterySuspendBehavior: SettingsData.SuspendBehavior.Suspend
property bool lockBeforeSuspend: false
property bool preventIdleForMedia: false
property bool loginctlLockIntegration: true
property string launchPrefix: ""
property var brightnessDevicePins: ({})

View File

@@ -141,6 +141,7 @@ var SPEC = {
batterySuspendTimeout: { def: 0 },
batterySuspendBehavior: { def: 0 },
lockBeforeSuspend: { def: false },
preventIdleForMedia: { def: false },
loginctlLockIntegration: { def: true },
launchPrefix: { def: "" },
brightnessDevicePins: { def: {} },