diff options
| -rw-r--r-- | bar/Workspace.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 50b9296..ccfcd57 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -18,9 +18,9 @@ Item { function getWorkspaceStats(index) { const w = ws.values.find(i => i.id === index + 1); return { - isOccupied: !!(w?.toplevels?.values?.length), - isActive: !!w?.active, - isUrgent: !!w?.urgent + isOccupied: w?.toplevels?.values?.length, + isActive: w?.active, + isUrgent: w?.urgent }; } |
