summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-09 20:06:09 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-09 20:06:09 +1000
commitea4d3f26ef438b8075d9ea1aa3f297173d6cd58d (patch)
tree53333766764d0ac6fba9aa8ee6ce465985fcd48d
parentreadme: add how to set wallpaper in usage (diff)
downloadcaelestia-shell-ea4d3f26ef438b8075d9ea1aa3f297173d6cd58d.tar.gz
caelestia-shell-ea4d3f26ef438b8075d9ea1aa3f297173d6cd58d.tar.bz2
caelestia-shell-ea4d3f26ef438b8075d9ea1aa3f297173d6cd58d.zip
session: fix logout for non-uwsm sessions
-rw-r--r--modules/dashboard/dash/Calendar.qml2
-rw-r--r--modules/session/Content.qml2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/dashboard/dash/Calendar.qml b/modules/dashboard/dash/Calendar.qml
index 7b69f98..aacea8f 100644
--- a/modules/dashboard/dash/Calendar.qml
+++ b/modules/dashboard/dash/Calendar.qml
@@ -1,3 +1,5 @@
+pragma ComponentBehavior: Bound
+
import "root:/widgets"
import "root:/services"
import "root:/config"
diff --git a/modules/session/Content.qml b/modules/session/Content.qml
index 4f4747c..d6cacd6 100644
--- a/modules/session/Content.qml
+++ b/modules/session/Content.qml
@@ -23,7 +23,7 @@ Column {
id: logout
icon: "logout"
- command: ["uwsm", "stop"]
+ command: ["sh", "-c", "uwsm stop || loginctl terminate-session $XDG_SESSION_ID"]
KeyNavigation.down: shutdown