summaryrefslogtreecommitdiff
path: root/examples/js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/js')
-rw-r--r--examples/js/simple-bar/widget/Bar.tsx1
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