diff options
Diffstat (limited to 'src/modules/bar.tsx')
| -rw-r--r-- | src/modules/bar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx index ae5cde9..ea953d7 100644 --- a/src/modules/bar.tsx +++ b/src/modules/bar.tsx @@ -146,7 +146,7 @@ const Workspace = ({ idx }: { idx: number }) => { const update = () => self.toggleClassName( "occupied", - hyprland.clients.some(c => c.workspace.id === wsId) + hyprland.clients.some(c => c.workspace?.id === wsId) ); self.hook(hyprland, "notify::focused-workspace", () => { |