-
-
Notifications
You must be signed in to change notification settings - Fork 193
(Widget) Komorebi Workspaces
github-actions edited this page Jun 23, 2026
·
12 revisions
Displays your Komorebi workspaces with clear indicators for active and populated states. You can switch workspaces by clicking or scrolling, toggle between tiling and floating layers, and see running app icons directly on the workspace buttons.
| Option | Type | Default | Description |
|---|---|---|---|
label_offline |
string | 'Komorebi Offline' |
The label to display when Komorebi is offline. |
label_workspace_btn |
string | '{index}' |
The format string for workspace buttons. |
label_workspace_active_btn |
string | '{index}' |
The format string for the active workspace button. |
label_workspace_populated_btn |
string | '{index}' |
The format string for the populated workspace button. |
label_default_name |
string | '' |
The default name for workspaces. |
label_float_override |
string | 'Override Active' |
The label to display when Komorebi's float override is active. |
toggle_workspace_layer |
dict | {'enabled': false, 'tiling_label': 'Tiling', 'floating_label': 'Floating'} |
Controls toggling between tiling and floating layers. |
app_icons |
dict | {'enabled_populated': false, 'enabled_active': false, 'size': 16, 'max_icons': 0, 'hide_label': false, 'hide_duplicates': false, 'hide_floating': false} |
Controls the display of opened app icons per workspace. |
hide_if_offline |
boolean | false |
Whether to hide the widget if Komorebi is offline. |
label_zero_index |
boolean | false |
Whether to use zero-based indexing for workspace labels. |
hide_empty_workspaces |
boolean | false |
Whether to hide empty workspaces. |
enable_scroll_switching |
boolean | false |
Enable scroll switching between workspaces. |
reverse_scroll_direction |
boolean | false |
Reverse scroll direction. |
komorebi_workspaces:
type: "komorebi.workspaces.WorkspaceWidget"
options:
label_offline: "Komorebi Offline"
label_workspace_btn: "\udb81\udc3d"
label_workspace_active_btn: "\udb81\udc3e"
label_workspace_populated_btn: "\udb81\udc3e"
label_default_name: ""
label_zero_index: false
hide_empty_workspaces: false
hide_if_offline: false
toggle_workspace_layer:
enabled: false
tiling_label: "Tiling"
floating_label: "Floating"
app_icons:
enabled_populated: false
enabled_active: false
size: 12
max_icons: 0
hide_label: false
hide_duplicates: false
hide_floating: false- label_offline: The label to display when Komorebi is offline.
- label_workspace_btn: The format string for workspace buttons, can be icon, {name} or {index}.
- label_workspace_active_btn: The format string for the active workspace button, can be icon, {name} or {index}.
- label_workspace_populated_btn: The format string for the populated workspace button, can be icon, {name} or {index}.
- label_default_name: The default name for workspaces.
- label_float_override: The label to display when Komorebi is Float Override Active.
-
toggle_workspace_layer: Controls toggling between tiling and floating layers.
- enabled: Whether to enable the workspace layer toggle functionality.
- tiling_label: The label to display for the tiling layer.
- floating_label: The label to display for the floating layer.
-
app_icons: Controls the display of opened app icons per workspace.
- enabled_populated: Whether to show app icons in populated workspaces.
- enabled_active: Whether to show app icons in the active workspace.
- size: The size of the app icons.
- max_icons: The maximum number of app icons to display (0 for no limit).
- hide_label: Whether to hide the label of the workspace buttons that app icons are displayed.
- hide_duplicates: Whether to hide duplicate app icons.
- hide_floating: Whether to hide floating window app icons.
- hide_if_offline: Whether to hide the widget if Komorebi is offline.
- label_zero_index: Whether to use zero-based indexing for workspace labels.
- hide_empty_workspaces: Whether to hide empty workspaces.
- enable_scroll_switching: Enable scroll switching between workspaces.
- reverse_scroll_direction: Reverse scroll direction.
.komorebi-workspaces {} /*Style for widget.*/
.komorebi-workspaces .offline-status {} /*Style for offline status text.*/
.komorebi-workspaces .widget-container {} /*Style for widget container.*/
.komorebi-workspaces .ws-btn {} /*Style for buttons.*/
.komorebi-workspaces .ws-btn.empty {} /*Style for empty workspace buttons.*/
.komorebi-workspaces .ws-btn.populated {} /*Style for buttons which contain window and are not empty.*/
.komorebi-workspaces .ws-btn.active {} /*Style for the active workspace button.*/
.komorebi-workspaces .ws-btn.button-1 {} /*Style for first button.*/
.komorebi-workspaces .ws-btn.button-2 {} /*Style for second button.*/
.komorebi-workspaces .float-override {} /*Style for float override text and icon.*/
.komorebi-workspaces .workspace-layer {} /*Style for workspace layer text and icon.*/
.komorebi-workspaces .workspace-layer.tiling {} /*Style for workspace layer text and icon when in tiling mode.*/
.komorebi-workspaces .workspace-layer.floating {} /*Style for workspace layer text and icon when in floating mode.*/If app_icons is enabled (either enabled_populated or enabled_active), you can't use .ws-btn to style label. Add the following styles:
.komorebi-workspaces .ws-btn .label {} /*Style for label text in buttons.*/
.komorebi-workspaces .ws-btn.populated .label {} /*Style for label text in populated buttons.*/
.komorebi-workspaces .ws-btn.active .label {} /*Style for label text in active buttons.*/
.komorebi-workspaces .ws-btn .icon {} /*Style for icon in buttons.*/
.komorebi-workspaces .ws-btn .icon-1 {} /*Style for icon in first button.*/
.komorebi-workspaces .ws-btn .icon-2 {} /*Style for icon in second button.*/
.komorebi-workspaces .ws-btn.active .icon {} /*Style for icon in active buttons.*/Note
You can use button-x to style each button separately. Where x is the index of the button.
If app_icons is enabled, you can use icon-x to style each icon separately. Where x is the index of the icon.
- Home
- Installation
- Configuration
- Keybindings
- Styling
- YASB CLI
- FAQ
- Contributing
- Writing Widget
- UI Components
- Widgets:
- Active Windows Title
- Ai Chat
- Applications
- Battery
- Bluetooth
- Brightness
- Cava
- Claude Usage
- Copilot
- CPU
- Clock
- Custom
- Github
- GlazeWM Binding Mode
- GlazeWM Tiling Direction
- GlazeWM Workspaces
- Glucose Monitor
- Grouper
- GPU
- Home
- Disk
- Do Not Disturb
- Language
- Launchpad
- Libre Hardware Monitor
- Media
- Memory
- Microphone
- Notifications
- Notes
- OBS
- Open Meteo
- Server Monitor
- Systray
- Todo
- Traffic
- Taskbar
- Pomodoro
- Power Menu
- Power Plan
- Quick Launch
- Recycle Bin
- Update Check
- Visual Studio Code
- Volume
- Wallpapers
- Weather
- WiFi
- WHKD
- Window Controls
- Window Switcher
- Windows Desktops
- Komorebi Control
- Komorebi Layout
- Komorebi Stack
- Komorebi Workspaces