From 70615e055e8713e0b40c9b32f867a2c8f2871a16 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Fri, 28 Jun 2024 21:33:04 +0545 Subject: [PATCH] workspace like end-4 --- config/ags/modules/bar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ags/modules/bar.ts b/config/ags/modules/bar.ts index 33f82ef8..848ac721 100644 --- a/config/ags/modules/bar.ts +++ b/config/ags/modules/bar.ts @@ -78,7 +78,7 @@ function getIconNameFromClass(windowClass: string) { return Utils.lookUpIcon(icon) ? icon : "image-missing"; } -const dispatch = (ws) => hyprland.messageAsync(`dispatch workspace ${ws}`); +const dispatch = (ws: string) => hyprland.messageAsync(`dispatch workspace ${ws}`).catch(print); function Workspaces() { return EventBox({