earbang protection

This commit is contained in:
end-4
2025-06-07 19:43:05 +02:00
parent c1a4670de2
commit 57327ab0fe
4 changed files with 114 additions and 20 deletions
@@ -12,6 +12,14 @@ Singleton {
property int fakeScreenRounding: 1 // 0: None | 1: Always | 2: When not fullscreen
}
property QtObject audio: QtObject { // Values in %
property QtObject protection: QtObject { // Prevent sudden bangs
property bool enable: true
property real maxAllowedIncrease: 10
property real maxAllowed: 90 // Realistically should already provide some protection when it's 99...
}
}
property QtObject apps: QtObject {
property string bluetooth: "better-control --bluetooth"
property string imageViewer: "loupe"