From 2d39e8fd2af0fbb3159d90f0a5729531d3a20d44 Mon Sep 17 00:00:00 2001 From: purian23 Date: Sat, 21 Feb 2026 00:52:08 -0500 Subject: [PATCH] ipc: Fix DankDash Wallpaper call --- quickshell/Modules/DankBar/DankBarWindow.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickshell/Modules/DankBar/DankBarWindow.qml b/quickshell/Modules/DankBar/DankBarWindow.qml index 5a94e45a..f2d77b2c 100644 --- a/quickshell/Modules/DankBar/DankBarWindow.qml +++ b/quickshell/Modules/DankBar/DankBarWindow.qml @@ -48,10 +48,11 @@ PanelWindow { return; } + let section = "center"; if (clockButtonRef && clockButtonRef.visualContent && dankDashPopoutLoader.item.setTriggerPosition) { // Calculate barPosition from axis.edge const barPosition = axis?.edge === "left" ? 2 : (axis?.edge === "right" ? 3 : (axis?.edge === "top" ? 0 : 1)); - const section = clockButtonRef.section || "center"; + section = clockButtonRef.section || "center"; let triggerPos, triggerWidth; if (section === "center") {