-
Notifications
You must be signed in to change notification settings - Fork 5
Widgets Workspaces
prankstr edited this page Mar 13, 2026
·
4 revisions
Workspace indicators with click-to-switch support.
| Option | Type | Default | Description |
|---|---|---|---|
label_type |
string | "none" |
"icons", "numbers", or "none"
|
separator |
string | "" |
Separator between indicators |
animate |
bool | true |
Enable smooth indicator animations |
background_color |
string | Custom background color (hex) |
Label types:
-
icons- Symbols:●(active),○(occupied),◆(urgent) -
numbers- Workspace names/numbers -
none- Minimal dots (CSS-styled)
| Class | Description |
|---|---|
.workspaces |
Widget container |
.workspace-indicator |
Individual workspace dot/button |
.workspace-indicator.active |
Currently focused workspace |
.workspace-indicator.occupied |
Has windows |
.workspace-indicator.urgent |
Needs attention |
.workspace-separator |
Separator element |
.workspace-indicator-minimal |
Minimal mode indicator (label_type = "none") |
.workspace-indicator-long |
Indicator with label longer than 2 characters |
.workspace-indicator-collapsed |
Indicator animating out during removal |
.workspace-grow-in |
Indicator animating in during creation |
.workspace-no-animate |
Applied when animate = false
|
Example - pill-shaped indicators:
.workspace-indicator {
border-radius: 4px;
min-width: 16px;
}
.workspace-indicator.active {
min-width: 24px;
}