2020-08-07 21:09:35 +00:00
|
|
|
waybar-wlr-workspaces(5)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
waybar - wlr workspaces module
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2020-08-10 21:28:56 +00:00
|
|
|
The *workspaces* module displays the currently used workspaces in wayland compositor.
|
2020-08-07 21:09:35 +00:00
|
|
|
|
|
|
|
# CONFIGURATION
|
|
|
|
|
|
|
|
Addressed by *wlr/workspaces*
|
|
|
|
|
|
|
|
*format*: ++
|
|
|
|
typeof: string ++
|
|
|
|
default: {name} ++
|
|
|
|
The format, how information should be displayed.
|
|
|
|
|
|
|
|
*format-icons*: ++
|
|
|
|
typeof: array ++
|
|
|
|
Based on the workspace name and state, the corresponding icon gets selected. See *icons*.
|
|
|
|
|
|
|
|
*sort-by-name*: ++
|
|
|
|
typeof: bool ++
|
|
|
|
default: true ++
|
|
|
|
Should workspaces be sorted by name.
|
|
|
|
|
|
|
|
*sort-by-coordinates*: ++
|
|
|
|
typeof: bool ++
|
2021-11-21 22:12:55 +00:00
|
|
|
default: true ++
|
2020-08-07 21:09:35 +00:00
|
|
|
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.
|
|
|
|
|
2021-11-23 00:10:44 +00:00
|
|
|
*all-outputs*: ++
|
|
|
|
typeof: bool ++
|
|
|
|
default: false ++
|
|
|
|
If set to false workspaces group will be shown only in assigned output. Otherwise all workspace groups are shown.
|
|
|
|
|
|
|
|
*active-only*: ++
|
|
|
|
typeof: bool ++
|
|
|
|
default: false ++
|
|
|
|
If set to true only active or urgent workspaces will be shown.
|
|
|
|
|
2020-08-07 21:09:35 +00:00
|
|
|
# FORMAT REPLACEMENTS
|
|
|
|
|
2020-08-10 21:28:56 +00:00
|
|
|
*{name}*: Name of workspace assigned by compositor
|
2020-08-07 21:09:35 +00:00
|
|
|
|
|
|
|
*{icon}*: Icon, as defined in *format-icons*.
|
|
|
|
|
2021-11-21 22:12:55 +00:00
|
|
|
# CLICK ACTIONS
|
|
|
|
|
|
|
|
*activate*: Switch to workspace.
|
|
|
|
*close*: Close the workspace.
|
|
|
|
|
2020-08-07 21:09:35 +00:00
|
|
|
# ICONS
|
|
|
|
|
|
|
|
Additional to workspace name matching, the following *format-icons* can be set.
|
|
|
|
|
2020-08-10 21:28:56 +00:00
|
|
|
- *default*: Will be shown, when no string match is found.
|
2020-08-07 21:09:35 +00:00
|
|
|
- *focused*: Will be shown, when workspace is focused
|
|
|
|
|
|
|
|
# EXAMPLES
|
|
|
|
|
|
|
|
```
|
|
|
|
"wlr/workspaces": {
|
|
|
|
"format": "{name}: {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"1": "",
|
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"5": "",
|
|
|
|
"focused": "",
|
|
|
|
"default": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
# Style
|
|
|
|
|
2020-08-10 21:28:56 +00:00
|
|
|
- *#workspaces*
|
2020-08-07 21:09:35 +00:00
|
|
|
- *#workspaces button*
|
2021-11-21 22:12:55 +00:00
|
|
|
- *#workspaces button.active*
|
|
|
|
- *#workspaces button.urgent*
|
|
|
|
- *#workspaces button.hidden*
|