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 /modules/session/Content.qml | |
| 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 'modules/session/Content.qml')
| -rw-r--r-- | modules/session/Content.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/session/Content.qml b/modules/session/Content.qml index 2603bf9..d90c0bc 100644 --- a/modules/session/Content.qml +++ b/modules/session/Content.qml @@ -23,7 +23,7 @@ Column { id: logout icon: "logout" - command: ["loginctl", "terminate-user", ""] + command: Config.session.commands.logout KeyNavigation.down: shutdown @@ -46,7 +46,7 @@ Column { id: shutdown icon: "power_settings_new" - command: ["systemctl", "poweroff"] + command: Config.session.commands.shutdown KeyNavigation.up: logout KeyNavigation.down: hibernate @@ -68,7 +68,7 @@ Column { id: hibernate icon: "downloading" - command: ["systemctl", "hibernate"] + command: Config.session.commands.hibernate KeyNavigation.up: shutdown KeyNavigation.down: reboot @@ -78,7 +78,7 @@ Column { id: reboot icon: "cached" - command: ["systemctl", "reboot"] + command: Config.session.commands.reboot KeyNavigation.up: hibernate } |