1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

osd: configurable position

This commit is contained in:
bbedward
2025-11-16 16:27:01 -05:00
parent 4d1ffde54c
commit f13968aa61
4 changed files with 107 additions and 10 deletions

View File

@@ -23,7 +23,9 @@ Singleton {
Top,
Bottom,
Left,
Right
Right,
TopCenter,
BottomCenter
}
enum AnimationSpeed {
@@ -305,6 +307,7 @@ Singleton {
property int notificationPopupPosition: SettingsData.Position.Top
property bool osdAlwaysShowValue: false
property int osdPosition: SettingsData.Position.BottomCenter
property bool osdVolumeEnabled: true
property bool osdBrightnessEnabled: true
property bool osdIdleInhibitorEnabled: true

View File

@@ -215,6 +215,7 @@ var SPEC = {
notificationPopupPosition: { def: 0 },
osdAlwaysShowValue: { def: false },
osdPosition: { def: 5 },
osdVolumeEnabled: { def: true },
osdBrightnessEnabled: { def: true },
osdIdleInhibitorEnabled: { def: true },