2023-07-30 07:55:11 +00:00
|
|
|
waybar-hyprland-workspaces(5)
|
2023-06-30 23:13:36 +00:00
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
waybar - hyprland workspaces module
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
The *workspaces* module displays the currently used workspaces in hyprland compositor.
|
|
|
|
|
|
|
|
# CONFIGURATION
|
|
|
|
|
|
|
|
Addressed by *hyprland/workspaces*
|
|
|
|
|
|
|
|
*format*: ++
|
|
|
|
typeof: string ++
|
|
|
|
default: {id} ++
|
|
|
|
The format, how information should be displayed.
|
|
|
|
|
|
|
|
*format-icons*: ++
|
|
|
|
typeof: array ++
|
|
|
|
Based on the workspace id and state, the corresponding icon gets selected. See *icons*.
|
|
|
|
|
2023-07-16 01:02:39 +00:00
|
|
|
*show-special*: ++
|
|
|
|
typeof: bool ++
|
|
|
|
default: false ++
|
|
|
|
If set to true special workspaces will be shown.
|
|
|
|
|
|
|
|
*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.
|
|
|
|
|
2023-06-30 23:13:36 +00:00
|
|
|
# FORMAT REPLACEMENTS
|
|
|
|
|
|
|
|
*{id}*: id of workspace assigned by compositor
|
|
|
|
|
2023-07-15 18:36:55 +00:00
|
|
|
*{name}*: workspace name assigned by compositor
|
|
|
|
|
2023-06-30 23:13:36 +00:00
|
|
|
*{icon}*: Icon, as defined in *format-icons*.
|
|
|
|
|
|
|
|
# ICONS
|
|
|
|
|
|
|
|
Additional 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
|
|
|
|
|
|
|
|
# EXAMPLES
|
|
|
|
|
|
|
|
```
|
|
|
|
"wlr/workspaces": {
|
|
|
|
"format": "{name}: {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"1": "",
|
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"5": "",
|
|
|
|
"active": "",
|
|
|
|
"default": ""
|
|
|
|
},
|
2023-07-15 18:36:55 +00:00
|
|
|
"all-outputs": false,
|
2023-07-30 15:33:02 +00:00
|
|
|
"show-special": false
|
2023-06-30 23:13:36 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
# Style
|
|
|
|
|
|
|
|
- *#workspaces*
|
|
|
|
- *#workspaces button*
|
|
|
|
- *#workspaces button.active*
|