diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 18:42:15 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 18:42:15 +1000 |
| commit | f1ef177c9aaae24d5ffd1aedffdfa918cb96bd22 (patch) | |
| tree | 897a3782c3b8a3a3e75aee25cf75ad419c4722d8 | |
| parent | dashboard: fix media eliding (diff) | |
| download | caelestia-shell-f1ef177c9aaae24d5ffd1aedffdfa918cb96bd22.tar.gz caelestia-shell-f1ef177c9aaae24d5ffd1aedffdfa918cb96bd22.tar.bz2 caelestia-shell-f1ef177c9aaae24d5ffd1aedffdfa918cb96bd22.zip | |
session: fix logout button
And launcher logout action
| -rw-r--r-- | modules/launcher/Actions.qml | 2 | ||||
| -rw-r--r-- | modules/session/Content.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml index 8df687b..da6f726 100644 --- a/modules/launcher/Actions.qml +++ b/modules/launcher/Actions.qml @@ -98,7 +98,7 @@ Singleton { function onClicked(list: AppList): void { list.visibilities.launcher = false; - Quickshell.execDetached(["sh", "-c", "(uwsm stop | grep -q 'Compositor is not running' && loginctl terminate-user $USER) || uwsm stop"]); + Quickshell.execDetached(["loginctl", "terminate-user", ""]); } }, Action { diff --git a/modules/session/Content.qml b/modules/session/Content.qml index 707a1b9..adf5aa2 100644 --- a/modules/session/Content.qml +++ b/modules/session/Content.qml @@ -23,7 +23,7 @@ Column { id: logout icon: "logout" - command: ["sh", "-c", "(uwsm stop | grep -q 'Compositor is not running' && loginctl terminate-user $USER) || uwsm stop"] + command: ["loginctl", "terminate-user", ""] KeyNavigation.down: shutdown |