From 220f78a4ef7db4c3b0861ae763ba46aea25d069e Mon Sep 17 00:00:00 2001 From: Link <127321188+linkfrg@users.noreply.github.com> Date: Fri, 28 Feb 2025 23:59:22 +0500 Subject: [PATCH] feat(`HyprlandService`): sync workspaces on ``"renameworkspace"`` event --- ignis/services/hyprland/service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ignis/services/hyprland/service.py b/ignis/services/hyprland/service.py index d3013e6b..c9797a3b 100644 --- a/ignis/services/hyprland/service.py +++ b/ignis/services/hyprland/service.py @@ -134,6 +134,8 @@ def __on_event_received(self, event: str) -> None: self.__sync_active_layout(event_value.split(",")[1]) case "activewindow": self.__sync_active_window() + case "renameworkspace": + self.__sync_workspaces() def __create_workspace(self, id_: int) -> None: for i in json.loads(self.send_command("j/workspaces")):