From e2698653e9639a34b849a49a59e8f8ba74bf895c Mon Sep 17 00:00:00 2001 From: tux Date: Sat, 31 May 2025 17:36:39 +0530 Subject: [PATCH] feat: fix focused client title --- widget/bar/workspace.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/widget/bar/workspace.tsx b/widget/bar/workspace.tsx index 5130f02..0a4adf9 100644 --- a/widget/bar/workspace.tsx +++ b/widget/bar/workspace.tsx @@ -48,9 +48,9 @@ export const WorkspaceButton = () => { export const FocusedClient = () => { const hyprland = AstalHyprland.get_default(); - const title = bind(hyprland, "focusedClient") - .as((fcsClient) => fcsClient.title) - .toString(); + const title = bind(hyprland, "focusedClient").as( + (fcsClient) => fcsClient.title, + ); - return ; + return ; };