diff options
author | rRedLim <[email protected]> | 2024-12-20 02:21:09 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-20 00:21:09 +0100 |
commit | d16c856074531b9fb867b8922be370bcfc749614 (patch) | |
tree | 08ee70023bf18a6dc39f312269c0a4e63ff0b7e0 /examples/js/simple-bar/widget/Bar.tsx | |
parent | 23083cdec69853bc8e480807a5f93b03df340183 (diff) |
chore: simple-bar filter special workspaces (#168)
Diffstat (limited to 'examples/js/simple-bar/widget/Bar.tsx')
-rw-r--r-- | examples/js/simple-bar/widget/Bar.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/js/simple-bar/widget/Bar.tsx b/examples/js/simple-bar/widget/Bar.tsx index 87cc20d..54a14b0 100644 --- a/examples/js/simple-bar/widget/Bar.tsx +++ b/examples/js/simple-bar/widget/Bar.tsx @@ -89,6 +89,7 @@ function Workspaces() { return <box className="Workspaces"> {bind(hypr, "workspaces").as(wss => wss + .filter(ws => !(ws.id >= -99 && ws.id <= -2)) // filter out special workspaces .sort((a, b) => a.id - b.id) .map(ws => ( <button |