diff options
| author | Joel R. <59534812+h0useofdupree@users.noreply.github.com> | 2025-07-29 04:45:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 12:45:33 +1000 |
| commit | 7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2 (patch) | |
| tree | 3f3ec61af00a4d0b84d085b5730c0ad921d8f7f1 /config | |
| parent | bar: fix kb layout (diff) | |
| download | caelestia-shell-7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2.tar.gz caelestia-shell-7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2.tar.bz2 caelestia-shell-7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2.zip | |
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
Diffstat (limited to 'config')
| -rw-r--r-- | config/SessionConfig.qml | 8 |
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 |