From 7b13ddcbfc65eed25909ce2c934e875a4c4e5cf8 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:49:48 +0200 Subject: [PATCH] remove quote from cookie clock --- .../ii/modules/background/CookieClock.qml | 63 ------------------- 1 file changed, 63 deletions(-) diff --git a/.config/quickshell/ii/modules/background/CookieClock.qml b/.config/quickshell/ii/modules/background/CookieClock.qml index 011cf8882..1936cab45 100644 --- a/.config/quickshell/ii/modules/background/CookieClock.qml +++ b/.config/quickshell/ii/modules/background/CookieClock.qml @@ -14,8 +14,6 @@ Item { id: root readonly property string clockStyle: Config.options.background.clock.style - readonly property bool showQuote: Config.options.background.showQuote && Config.options.background.quote.length > 0 && !GlobalStates.screenLocked - property real implicitSize: 230 property real hourHandLength: 72 @@ -76,16 +74,6 @@ Item { color: root.colShadow transparentBorder: true } - DropShadow { - source: quoteBox - anchors.fill: source - horizontalOffset: 0 - verticalOffset: 2 - radius: 12 - samples: radius * 2 + 1 - color: root.colShadow - transparentBorder: true - } MaterialCookie { id: cookie @@ -568,55 +556,4 @@ Item { } } } - - - - // Quote - Rectangle{ - id: quoteBox - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.bottom - anchors.topMargin: 24 - - implicitWidth: quoteText.width + quoteIcon.width + 16 // for spacing on both sides - implicitHeight: showQuote ? quoteText.height + 8 : 0 - radius: Appearance.rounding.small - color: Appearance.colors.colSecondaryContainer - - - Behavior on implicitHeight { - animation: Appearance.animation.elementResize.numberAnimation.createObject(this) - } - Behavior on implicitWidth { - animation: Appearance.animation.elementResize.numberAnimation.createObject(this) - } - Behavior on opacity { - animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) - } - - RowLayout{ - anchors.centerIn: parent - spacing: 4 - - MaterialSymbol{ - id: quoteIcon - visible: showQuote > 0 - iconSize: Appearance.font.pixelSize.huge - text: "comic_bubble" - } - StyledText{ - id: quoteText - visible : showQuote > 0 - Layout.fillWidth: true - horizontalAlignment: Text.AlignHCenter - text: Config.options.background.quote - font { - family: Appearance.font.family.main - pixelSize: Appearance.font.pixelSize.large - weight: Font.Normal - italic: true - } - } - } - } }