summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/py/simple-bar/widget/Bar.py2
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):