SessionMenuTab: added tab & SessionMenu settings

SessionMenu: hook up settings, update height calculation
i18n: add translations
This commit is contained in:
Ly-sec
2025-11-12 19:46:19 +01:00
parent 4f6ed4335a
commit dbedf6c25c
16 changed files with 675 additions and 19 deletions
+24
View File
@@ -339,6 +339,30 @@ Singleton {
property bool wifiEnabled: true
}
// session menu
property JsonObject sessionMenu: JsonObject {
property bool enableCountdown: true
property int countdownDuration: 10000
property string position: "center"
property bool showHeader: true
property list<var> powerOptions: [{
"action": "lock",
"enabled": true
}, {
"action": "suspend",
"enabled": true
}, {
"action": "reboot",
"enabled": true
}, {
"action": "logout",
"enabled": true
}, {
"action": "shutdown",
"enabled": true
}]
}
// notifications
property JsonObject notifications: JsonObject {
property bool enabled: true