diff --git a/modules/bar.tsx b/modules/bar.tsx index dd576c3c..9801f130 100644 --- a/modules/bar.tsx +++ b/modules/bar.tsx @@ -51,12 +51,14 @@ const ActiveWindow = () => ( className="icon" setup={self => hookFocusedClientProp(self, "class", c => { - self.label = c ? getAppCategoryIcon(c.class) : "desktop_windows"; + self.label = c?.class ? getAppCategoryIcon(c.class) : "desktop_windows"; }) } />