From de1812bf91527ec527832df5e9cffd11685012ea Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:55:56 +0700 Subject: [PATCH] sidebar: remove redundant coloroverlay, make uptime more brief --- .../ii/modules/sidebarRight/SidebarRight.qml | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.config/quickshell/ii/modules/sidebarRight/SidebarRight.qml b/.config/quickshell/ii/modules/sidebarRight/SidebarRight.qml index 48cb8ffb1..ce0ff77a5 100644 --- a/.config/quickshell/ii/modules/sidebarRight/SidebarRight.qml +++ b/.config/quickshell/ii/modules/sidebarRight/SidebarRight.qml @@ -102,26 +102,19 @@ Scope { Layout.topMargin: 5 Layout.bottomMargin: 0 - Item { - implicitWidth: distroIcon.width - implicitHeight: distroIcon.height - CustomIcon { - id: distroIcon - width: 25 - height: 25 - source: SystemInfo.distroIcon - } - ColorOverlay { - anchors.fill: distroIcon - source: distroIcon - color: Appearance.colors.colOnLayer0 - } + CustomIcon { + id: distroIcon + width: 25 + height: 25 + source: SystemInfo.distroIcon + colorize: true + color: Appearance.colors.colOnLayer0 } StyledText { font.pixelSize: Appearance.font.pixelSize.normal color: Appearance.colors.colOnLayer0 - text: Translation.tr("Uptime: %1").arg(DateTime.uptime) + text: Translation.tr("Up %1").arg(DateTime.uptime) textFormat: Text.MarkdownText }