From 7aacac554d51b05ae3adc7420d53258ec10f733d Mon Sep 17 00:00:00 2001 From: Nyx <189459385+nyx-4@users.noreply.github.com> Date: Sat, 16 Aug 2025 18:25:52 +0500 Subject: [PATCH] [Feature Request] Add `mantra' beneath clock Signed-off-by: Nyx <189459385+nyx-4@users.noreply.github.com> --- .../ii/modules/background/Background.qml | 14 ++++++++++++++ .config/quickshell/ii/modules/common/Config.qml | 1 + 2 files changed, 15 insertions(+) diff --git a/.config/quickshell/ii/modules/background/Background.qml b/.config/quickshell/ii/modules/background/Background.qml index 1e3ac5200..2850249e3 100644 --- a/.config/quickshell/ii/modules/background/Background.qml +++ b/.config/quickshell/ii/modules/background/Background.qml @@ -242,6 +242,20 @@ Variants { styleColor: Appearance.colors.colShadow text: DateTime.date } + StyledText { + Layout.fillWidth: true + Layout.topMargin: -5 + horizontalAlignment: bgRoot.textHorizontalAlignment + font { + family: Appearance.font.family.expressive + pixelSize: 20 + weight: Font.DemiBold + } + color: bgRoot.colText + style: Text.Raised + styleColor: Appearance.colors.colShadow + text: Config.options.background.mantra + } } RowLayout { diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 464fe9c4a..7f874602c 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -126,6 +126,7 @@ Singleton { property real workspaceZoom: 1.07 // Relative to your screen, not wallpaper size property bool enableSidebar: true } + property string mantra: "" } property JsonObject bar: JsonObject {