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 --- modules/lock/Buttons.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/lock/Buttons.qml') 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 { -- cgit v1.2.3-freya