summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/dash/Calendar.qml2
-rw-r--r--modules/dashboard/dash/DateTime.qml2
-rw-r--r--modules/session/Content.qml2
3 files changed, 4 insertions, 2 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/dashboard/dash/DateTime.qml b/modules/dashboard/dash/DateTime.qml
index 5f44227..738fed1 100644
--- a/modules/dashboard/dash/DateTime.qml
+++ b/modules/dashboard/dash/DateTime.qml
@@ -48,7 +48,7 @@ Item {
anchors.topMargin: -sep.font.pointSize * 0.45
horizontalAlignment: Text.AlignHCenter
- text: Time.format("MM")
+ text: Time.format("mm")
color: Colours.palette.m3secondary
font.pointSize: Appearance.font.size.extraLarge
font.weight: 500
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