From d9462251cc84a89ac905fd18b02df88407cc1282 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:49:44 +0400 Subject: [PATCH] add on click thing --- config/ags/widget/Bar.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/ags/widget/Bar.tsx b/config/ags/widget/Bar.tsx index 3f6c0a0c..92654f3d 100644 --- a/config/ags/widget/Bar.tsx +++ b/config/ags/widget/Bar.tsx @@ -83,10 +83,13 @@ function Workspaces() { const workspaceButtons: number[] = (Array.from({ length: 10 }, (_, id) => id + 1)) + const focusWorkspace = (workspaceId: number) => hypr.dispatch("workspace", workspaceId.toString()); + return {workspaceButtons.map (workspace => )}