We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a391bb9 commit 968ceebCopy full SHA for 968ceeb
src/wlr_layout_ui/screens.py
@@ -65,7 +65,9 @@ def load_from_hyprctl():
65
current_screen = Screen(
66
uid=monitor["name"],
67
name=monitor["description"],
68
- active=monitor["activeWorkspace"]["id"] >= 0,
+ active=bool(
69
+ monitor["activeWorkspace"]["name"]
70
+ ), # NOTE: move to "disabled" later
71
scale=monitor["scale"],
72
position=(monitor["x"], monitor["y"]),
73
available=modes,
0 commit comments