summaryrefslogtreecommitdiff
path: root/modules/launcher/Actions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher/Actions.qml')
-rw-r--r--modules/launcher/Actions.qml2
1 files changed, 1 insertions, 1 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 {