diff --git a/home/ags/files/Bar.tsx b/home/ags/files/Bar.tsx index 2176d98..cf03f0d 100644 --- a/home/ags/files/Bar.tsx +++ b/home/ags/files/Bar.tsx @@ -278,7 +278,9 @@ function Workspaces({ connector }: { connector: string }): JSX.Element { {/* Generate a derived binding by passing a transformation function into the `workspaces` state */} - wss.filter((ws) => ws.output === connector).sort((a, b) => a.idx - b.idx) + wss.filter((ws) => ws.output === connector) + .filter((ws) => ws.is_active || windows().some((w: any) => w.workspace_id === ws.id)) + .sort((a, b) => a.idx - b.idx) )}> {(ws: any) => (