From 7a937833f3aa27d35d400c18176f8cb25ddcadaa Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 1 Aug 2025 08:16:19 +0700 Subject: [PATCH] background: parallax on whole workspace group --- .config/quickshell/ii/modules/background/Background.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/background/Background.qml b/.config/quickshell/ii/modules/background/Background.qml index ffd08bee5..dc6bdece1 100644 --- a/.config/quickshell/ii/modules/background/Background.qml +++ b/.config/quickshell/ii/modules/background/Background.qml @@ -152,8 +152,8 @@ Scope { visible: !bgRoot.wallpaperIsVideo property real value // 0 to 1, for offset value: { - // Range = half-groups that workspaces span on - const chunkSize = 5; + // Range = groups that workspaces span on + const chunkSize = Config?.options.bar.workspaces.shown ?? 10; const lower = Math.floor(bgRoot.firstWorkspaceId / chunkSize) * chunkSize; const upper = Math.ceil(bgRoot.lastWorkspaceId / chunkSize) * chunkSize; const range = upper - lower;