From fedeb47dbc5fd841cc7e8f6267180a0d0c5818e9 Mon Sep 17 00:00:00 2001 From: darksignal7 Date: Sun, 5 Oct 2025 20:46:28 +0300 Subject: [PATCH] make bubble date style work with others --- .../ii/modules/settings/InterfaceConfig.qml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/ii/modules/settings/InterfaceConfig.qml b/.config/quickshell/ii/modules/settings/InterfaceConfig.qml index 8160d962c..d9d1ada3c 100644 --- a/.config/quickshell/ii/modules/settings/InterfaceConfig.qml +++ b/.config/quickshell/ii/modules/settings/InterfaceConfig.qml @@ -87,7 +87,9 @@ ContentPage { } if (newValue != "none"){ Config.options.background.clock.cookie.dateInClock = false; - Config.options.background.clock.cookie.dateStyle = "none"; + if (Config.options.background.clock.cookie.dateStyle !== "bubble"){ + Config.options.background.clock.cookie.dateStyle = "none"; + } } } options: [ @@ -230,13 +232,18 @@ ContentPage { ContentSubsection { - enabled: Config.options.background.clock.style === "cookie" && Config.options.background.clock.cookie.dialNumberStyle === "none" + enabled: Config.options.background.clock.style === "cookie" visible: Config.options.background.clock.style === "cookie" title: Translation.tr("Date style") ConfigSelectionArray { currentValue: Config.options.background.clock.cookie.dateStyle onSelected: newValue => { - Config.options.background.clock.cookie.dateStyle = newValue; + if (newValue !== "bubble" && Config.options.background.clock.cookie.dialNumberStyle === "none"){ + Config.options.background.clock.cookie.dateStyle = newValue; + } + if (newValue === "bubble" || newValue === "none"){ + Config.options.background.clock.cookie.dateStyle = newValue; + } } options: [ {