From 46b8626f7da88db1d06f99d5a32066922772b22c Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 23 Feb 2025 13:13:15 +1100
Subject: bar: fix workspace module

---
 src/modules/bar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/bar.tsx')

diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index c1c3dfc..c2695c4 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);
-- 
cgit v1.2.3-freya

