diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx index c1c3dfc0..c2695c42 100644 --- a/src/modules/bar.tsx +++ b/src/modules/bar.tsx @@ -198,7 +198,7 @@ const Workspace = ({ idx }: { idx: number }) => { }; self.hook(config.modules.workspaces.shown, updateWs); - self.hook(hyprland, "notify::focused-workspace", () => updateWs); + self.hook(hyprland, "notify::focused-workspace", updateWs); self.hook(hyprland, "client-added", update); self.hook(hyprland, "client-moved", update); self.hook(hyprland, "client-removed", update);