summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 21:14:13 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 21:14:13 +1000
commit691232756fc56164c47558d950f54cedb4fff10c (patch)
tree406c361ba6b2ab026563bdcde8f9aaa4b49290a6
parentinternal: remove unnecessary import (diff)
downloadcaelestia-shell-691232756fc56164c47558d950f54cedb4fff10c.tar.gz
caelestia-shell-691232756fc56164c47558d950f54cedb4fff10c.tar.bz2
caelestia-shell-691232756fc56164c47558d950f54cedb4fff10c.zip
dashboard: fix uptime
-rw-r--r--modules/dashboard/dash/User.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml
index f36c03d..bf989c6 100644
--- a/modules/dashboard/dash/User.qml
+++ b/modules/dashboard/dash/User.qml
@@ -36,6 +36,7 @@ Row {
Column {
id: info
+ anchors.verticalCenter: parent.verticalCenter
spacing: Appearance.spacing.normal
InfoLine {
@@ -70,7 +71,7 @@ Row {
running: true
command: ["uptime", "-p"]
stdout: StdioCollector {
- onStreamFinished: uptimeProc.uptime = text
+ onStreamFinished: uptimeProc.uptime = text.trim()
}
}
}