From 7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2 Mon Sep 17 00:00:00 2001 From: "Joel R." <59534812+h0useofdupree@users.noreply.github.com> Date: Tue, 29 Jul 2025 04:45:33 +0200 Subject: 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 --- config/SessionConfig.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/SessionConfig.qml') 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 logout: ["loginctl", "terminate-user", ""] + property list shutdown: ["systemctl", "poweroff"] + property list hibernate: ["systemctl", "hibernate"] + property list reboot: ["systemctl", "reboot"] + } component Sizes: JsonObject { property int button: 80 -- cgit v1.2.3-freya