-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Module: Workspaces
Note
This page is auto-generated from man/waybar-ext-workspaces.5.scd on the master branch.
Do not edit it here — changes will be overwritten on the next sync.
To update it, edit the man page(s) and open a PR.
The workspaces module displays the currently used workspaces in wayland compositor.
To use this module, your compositor must implement the ext-workspace-v1 Wayland protocol.
Addressed by ext/workspaces
| Option | Typeof | Default | Description |
|---|---|---|---|
| format | string | {name} | The format, how information should be displayed. |
| format-icons | array | Based on the workspace name and state, the corresponding icon gets selected. See icons. | |
| sort-by-name | bool | true | Should workspaces be sorted by name. Workspace names will be sorted numerically when all names are numbers. |
| sort-by-coordinates | bool | false | Should workspaces be sorted by coordinates. Note that if both sort-by-name and sort-by-coordinates are true sort-by name will be first. If both are false - sort by id will be performed. |
| sort-by-id | bool | false | Should workspaces be sorted by ID. Workspace ID will be sorted numerically when all ID are numbers. Takes precedence over any other sort-by option. |
| sort-by-number | bool | Deprecated alias of sort-by-id. Setting it emits a warning; prefer sort-by-id. | |
| all-outputs | bool | false | If set to false workspaces group will be shown only in assigned output. Otherwise, all workspace groups are shown. |
| active-only | bool | false | If set to true only active or urgent workspaces will be shown. |
| ignore-hidden | bool | true | If set to false hidden workspaces will be shown. |
| on-click | string | The action to perform on left-click. See CLICK ACTIONS for the possible values. | |
| on-click-middle | string | The action to perform on middle-click. See CLICK ACTIONS for the possible values. | |
| on-click-right | string | The action to perform on right-click. See CLICK ACTIONS for the possible values. |
{name}: Name of workspace assigned by compositor.
{id}: ID of workspace assigned by compositor.
{icon}: Icon, as defined in format-icons.
activate: Switch to workspace.
deactivate: Deactivate the workspace.
close: Close the workspace.
In addition to workspace name matching, the following format-icons can be set.
-
default: Will be shown, when no string match is found.
-
active: Will be shown, when workspace is active
"ext/workspaces": {
"format": "{name}: {icon}",
"on-click": "activate",
"format-icons": {
"Workspace 1": "",
"Workspace 2": "",
"Workspace 3": "",
"Workspace 4": "",
"active": "",
"default": ""
},
"sort-by-id": true
}
-
#workspaces
-
#workspaces button
-
#workspaces button.active
-
#workspaces button.urgent
-
#workspaces button.hidden
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- Clock
- Custom
- DWL
- Disk
- Gamemode
- GPS
- Group
- Hyprland
- Idle Inhibitor
- Image
- Inhibitor
- JACK
- Keyboard State
- Language
- Load
- Mango
- Menu
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- Wayfire
- WirePlumber
- Workspaces
- WWAN
- Writing Modules