nosignal-shell/config/SessionConfig.qml
Joel R. 7dc5b65d22
session: add custom session/lock menu button commands (#292)
* session: add custom menu-buttons commands

* lock: use custom session-menu buttons

* readme: update config options for custom commands
2025-07-29 12:45:33 +10:00

19 lines
572 B
QML

import Quickshell.Io
JsonObject {
property bool enabled: true
property int dragThreshold: 30
property Commands commands: Commands{}
property Sizes sizes: Sizes {}
component Commands: JsonObject {
property list<string> logout: ["loginctl", "terminate-user", ""]
property list<string> shutdown: ["systemctl", "poweroff"]
property list<string> hibernate: ["systemctl", "hibernate"]
property list<string> reboot: ["systemctl", "reboot"]
}
component Sizes: JsonObject {
property int button: 80
}
}