summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/SessionConfig.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/SessionConfig.qml b/config/SessionConfig.qml
index 753d5c1..e47f294 100644
--- a/config/SessionConfig.qml
+++ b/config/SessionConfig.qml
@@ -3,7 +3,15 @@ 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