diff options
author | Aylur <[email protected]> | 2024-12-29 18:30:26 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-29 18:30:26 +0100 |
commit | 307b1ff0fcfd2b590bbc088ec42bdeabd67371e1 (patch) | |
tree | 90d551e94380eae6b0206eacba093ae7c4fb13d9 | |
parent | b89b08ef482a30726d9e716f593b449ce640099f (diff) |
fix: python example
-rw-r--r-- | examples/py/simple-bar/widget/Bar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/py/simple-bar/widget/Bar.py b/examples/py/simple-bar/widget/Bar.py index c2fa9e0..555ab85 100644 --- a/examples/py/simple-bar/widget/Bar.py +++ b/examples/py/simple-bar/widget/Bar.py @@ -32,7 +32,7 @@ class Workspaces(Gtk.Box): child.destroy() for ws in hypr.get_workspaces(): - if not (ws.id >= -99 and ws.id <= -2): # filter out special workspaces + if not (ws.get_id() >= -99 and ws.get_id() <= -2): # filter out special workspaces self.add(self.button(ws)) def button(self, ws): |