summaryrefslogtreecommitdiff
path: root/modules/lock
diff options
context:
space:
mode:
authorJoel R. <59534812+h0useofdupree@users.noreply.github.com>2025-07-29 04:45:33 +0200
committerGitHub <noreply@github.com>2025-07-29 12:45:33 +1000
commit7dc5b65d2221bf6ed5f33cd8666ea4214c63f1d2 (patch)
tree3f3ec61af00a4d0b84d085b5730c0ad921d8f7f1 /modules/lock
parentbar: fix kb layout (diff)
downloadcaelestia-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/lock')
-rw-r--r--modules/lock/Buttons.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/lock/Buttons.qml b/modules/lock/Buttons.qml
index 66833ab..1995151 100644
--- a/modules/lock/Buttons.qml
+++ b/modules/lock/Buttons.qml
@@ -50,22 +50,22 @@ Item {
SessionButton {
icon: "logout"
- command: ["loginctl", "terminate-user", ""]
+ command: Config.session.commands.logout
}
SessionButton {
icon: "power_settings_new"
- command: ["systemctl", "poweroff"]
+ command: Config.session.commands.shutdown
}
SessionButton {
icon: "downloading"
- command: ["systemctl", "hibernate"]
+ command: Config.session.commands.hibernate
}
SessionButton {
icon: "cached"
- command: ["systemctl", "reboot"]
+ command: Config.session.commands.reboot
}
Behavior on anchors.margins {