Workspace: show occupied workspaces with a different color
This commit is contained in:
parent
e8af442b34
commit
320870df0b
3 changed files with 12 additions and 6 deletions
|
|
@ -49,10 +49,10 @@ Singleton {
|
|||
isFocused: ws.is_focused === true,
|
||||
isActive: ws.is_active === true,
|
||||
isUrgent: ws.is_urgent === true,
|
||||
activeWindowId: ws.active_window_id
|
||||
isOccupied: ws.active_window_id ? true : false
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
workspacesList.sort((a, b) => {
|
||||
if (a.output !== b.output) {
|
||||
return a.output.localeCompare(b.output);
|
||||
|
|
|
|||
|
|
@ -124,7 +124,8 @@ Singleton {
|
|||
output: ws.output || "",
|
||||
isFocused: ws.isFocused === true,
|
||||
isActive: ws.isActive === true,
|
||||
isUrgent: ws.isUrgent === true
|
||||
isUrgent: ws.isUrgent === true,
|
||||
isOccupied: ws.isOccupied === true,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue