From 5e7035efdc09a9fb2f0f4497ae31104163da19b4 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Thu, 17 Jul 2025 22:06:25 -0400 Subject: [PATCH] use styled --- shell/modules/bar/components/Clock.qml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/shell/modules/bar/components/Clock.qml b/shell/modules/bar/components/Clock.qml index d5df94b..fbb65fa 100644 --- a/shell/modules/bar/components/Clock.qml +++ b/shell/modules/bar/components/Clock.qml @@ -1,6 +1,7 @@ import Quickshell import Quickshell.Io import QtQuick +import "root:styled" Item { id: clock @@ -8,19 +9,14 @@ Item { implicitWidth: 200 implicitHeight: 30 - Rectangle { + StyledLabel { anchors.fill: parent - color: "#333" - opacity: 0.5 - radius: 5 } - Text { + StyledText { id: text anchors.centerIn: parent - color: "white" - Process { // give the process object an id so we can talk // about it from the timer