From 4013fe84343b15cefdec9590b5a032d67b1a6b1a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 12:52:01 +1000 Subject: feat: bar workspace groups --- modules/bar/components/workspaces/ActiveIndicator.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/bar/components/workspaces/ActiveIndicator.qml') diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml index d5ae0b5..7feab35 100644 --- a/modules/bar/components/workspaces/ActiveIndicator.qml +++ b/modules/bar/components/workspaces/ActiveIndicator.qml @@ -12,8 +12,9 @@ Rectangle { required property Item mask required property real maskWidth required property real maskHeight + required property int groupOffset - property int currentIdx: (Hyprland.activeWorkspace?.id ?? 1) - 1 + property int currentIdx: (Hyprland.activeWorkspace?.id ?? 1) - 1 - groupOffset property int lastIdx: currentIdx property real leading: workspaces[currentIdx][vertical ? "y" : "x"] property real trailing: workspaces[lastIdx][vertical ? "y" : "x"] -- cgit v1.2.3-freya