summaryrefslogtreecommitdiff
path: root/modules/launcher/Actions.qml
diff options
context:
space:
mode:
authorTim Hämisch <tim@thaemisch.net>2025-06-13 18:13:07 +0200
committerTim Hämisch <tim@thaemisch.net>2025-06-13 18:13:07 +0200
commit818768e6bda3c39bf214f51d39af7bea8bcffe2d (patch)
tree0b6dc868d7a077422043ced58fab675de8568011 /modules/launcher/Actions.qml
parentlauncher: add opt-in for dangerous actions (diff)
downloadcaelestia-shell-818768e6bda3c39bf214f51d39af7bea8bcffe2d.tar.gz
caelestia-shell-818768e6bda3c39bf214f51d39af7bea8bcffe2d.tar.bz2
caelestia-shell-818768e6bda3c39bf214f51d39af7bea8bcffe2d.zip
launcher: use standard logout command
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 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 {