diff --git a/dots/.config/quickshell/ii/modules/background/Background.qml b/dots/.config/quickshell/ii/modules/background/Background.qml index 71bae0d77..fc0bb0cfb 100644 --- a/dots/.config/quickshell/ii/modules/background/Background.qml +++ b/dots/.config/quickshell/ii/modules/background/Background.qml @@ -445,7 +445,7 @@ Variants { color: bgRoot.colText style: Text.Raised styleColor: Appearance.colors.colShadow - animateChange: true + animateChange: Config.options.background.clock.digital.animateChange } component ClockStatusText: Row { id: statusTextRow diff --git a/dots/.config/quickshell/ii/modules/common/Config.qml b/dots/.config/quickshell/ii/modules/common/Config.qml index 0bca2b820..f43b86187 100644 --- a/dots/.config/quickshell/ii/modules/common/Config.qml +++ b/dots/.config/quickshell/ii/modules/common/Config.qml @@ -165,6 +165,9 @@ Singleton { property bool dateInClock: true property bool constantlyRotate: false } + property JsonObject digital: JsonObject { + property bool animateChange: true + } } property string wallpaperPath: "" diff --git a/dots/.config/quickshell/ii/modules/settings/InterfaceConfig.qml b/dots/.config/quickshell/ii/modules/settings/InterfaceConfig.qml index 662cfd389..cf7e98171 100644 --- a/dots/.config/quickshell/ii/modules/settings/InterfaceConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/InterfaceConfig.qml @@ -55,6 +55,20 @@ ContentPage { } } + ContentSubsection { + visible: Config.options.background.clock.style === "digital" + title: Translation.tr("Digital clock settings") + + ConfigSwitch { + buttonIcon: "animation" + text: Translation.tr("Animate time change") + checked: Config.options.background.clock.digital.animateChange + onCheckedChanged: { + Config.options.background.clock.digital.animateChange = checked; + } + } + } + ContentSubsection { visible: Config.options.background.clock.style === "cookie" title: Translation.tr("Cookie clock settings")