diff --git a/pyprland/plugins/workspaces_follow_focus.py b/pyprland/plugins/workspaces_follow_focus.py index d60dc34..a3bf4f3 100644 --- a/pyprland/plugins/workspaces_follow_focus.py +++ b/pyprland/plugins/workspaces_follow_focus.py @@ -20,15 +20,13 @@ class Extension(Plugin): ) workspaces = [w["id"] for w in await hyprctlJSON("workspaces") if w["id"] > 0] - batch: list[str | list[str]] = [["animations:enabled false", "keyword"]] + batch: list[str | list[str]] = [] for n in workspaces: if n in busy_workspaces or n == workspace_id: continue batch.append(f"moveworkspacetomonitor {n} {monitor_id}") batch.append(f"workspace {workspace_id}") await hyprctl(batch) - await asyncio.sleep(0.05) - await hyprctl("animations:enabled true", base_command="keyword") async def run_change_workspace(self, direction: str): increment = int(direction)