This commit is contained in:
fdev31 2023-04-27 23:29:19 +02:00
parent f7307f3ef2
commit dc8d78881a

View file

@ -11,7 +11,7 @@ class Extension(Plugin):
async def event_focusedmon(self, screenid_index): async def event_focusedmon(self, screenid_index):
monitor_id, workspace_id = screenid_index.split(",") monitor_id, workspace_id = screenid_index.split(",")
workspace_id = int(workspace_id) workspace_id = int(workspace_id)
# move every free wokrspace to the currently focused desktop # move every free workspace to the currently focused desktop
busy_workspaces = set( busy_workspaces = set(
mon["activeWorkspace"]["id"] mon["activeWorkspace"]["id"]
for mon in await hyprctlJSON("monitors") for mon in await hyprctlJSON("monitors")