From 044bacf7569442aff59048841db25a67be70b5c2 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 25 Jul 2025 18:54:39 -0700 Subject: [PATCH] qs: fix workspace base index on scroll --- modules/user/modules/quickshell/shell/bar/Workspaces.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/modules/quickshell/shell/bar/Workspaces.qml b/modules/user/modules/quickshell/shell/bar/Workspaces.qml index 14e2ab3..4288715 100644 --- a/modules/user/modules/quickshell/shell/bar/Workspaces.qml +++ b/modules/user/modules/quickshell/shell/bar/Workspaces.qml @@ -31,7 +31,7 @@ FullwidthMouseArea { if (offset != 0) { const targetWorkspace = currentIndex + offset; - const id = Math.max(1, Math.min(10, targetWorkspace)); + const id = Math.max(wsBaseIndex, Math.min(wsBaseIndex + 9, targetWorkspace)); if (id != currentIndex) Hyprland.dispatch(`workspace ${id}`); } }