From d445d182eab5d11a0ddf14643627a9f4e514f9f2 Mon Sep 17 00:00:00 2001 From: bbedward Date: Thu, 12 Mar 2026 11:43:33 -0400 Subject: [PATCH] fix(settings): fix animation speed binding in notifications tab fixes #1974 --- quickshell/Modules/Settings/NotificationsTab.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/quickshell/Modules/Settings/NotificationsTab.qml b/quickshell/Modules/Settings/NotificationsTab.qml index abe8d37d..c43a5e21 100644 --- a/quickshell/Modules/Settings/NotificationsTab.qml +++ b/quickshell/Modules/Settings/NotificationsTab.qml @@ -20,7 +20,10 @@ Item { var out = []; for (var i = 0; i < rules.length; i++) { if ((rules[i].action || "").toString().toLowerCase() === "mute") - out.push({ rule: rules[i], index: i }); + out.push({ + rule: rules[i], + index: i + }); } return out; } @@ -349,6 +352,7 @@ Item { } SettingsSliderRow { + id: animationDurationSlider settingKey: "notificationCustomAnimationDuration" tags: ["notification", "animation", "duration", "custom", "speed"] text: I18n.tr("Duration") @@ -364,6 +368,13 @@ Item { } SettingsData.set("notificationCustomAnimationDuration", newValue); } + + Connections { + target: Theme + function onNotificationAnimationBaseDurationChanged() { + animationDurationSlider.value = Theme.notificationAnimationBaseDuration; + } + } } } }