mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
SessionMenuTab: added tab & SessionMenu settings
SessionMenu: hook up settings, update height calculation i18n: add translations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user