summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 47607c3..d612cb0 100644
--- a/modules/launcher/Actions.qml
+++ b/modules/launcher/Actions.qml
@@ -170,7 +170,7 @@ Singleton {
Process {
id: logout
- command: ["hyprctl", "dispatch", "exit", "1"]
+ command: ["sh", "-c", "(uwsm stop | grep -q 'Compositor is not running' && loginctl terminate-user $USER) || uwsm stop"]
}
Process {