From 307b1ff0fcfd2b590bbc088ec42bdeabd67371e1 Mon Sep 17 00:00:00 2001 From: Aylur <104676705+Aylur@users.noreply.github.com> Date: Sun, 29 Dec 2024 18:30:26 +0100 Subject: fix: python example --- examples/py/simple-bar/widget/Bar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py') 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): -- cgit v1.2.3