diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml index 47607c35..d612cb07 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 {