Merge pull request #43 from Amstel-DEV/main

Fixed Logout Function
This commit is contained in:
2 * r + 2 * t 2025-06-11 18:16:57 +10:00 committed by GitHub
commit 2b368a5310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ Column {
id: logout
icon: "logout"
command: ["sh", "-c", "uwsm stop || loginctl terminate-session $XDG_SESSION_ID"]
command: ["sh", "-c", "(uwsm stop | grep -q 'Compositor is not running' && loginctl terminate-user $USER) || uwsm stop"]
KeyNavigation.down: shutdown