docs: include new ignore-workspaces example and documentation

This commit is contained in:
Brenno Lemos 2023-10-11 11:03:18 -03:00
parent c995bafa7a
commit ceeb5bf8bd
1 changed files with 13 additions and 0 deletions

View File

@ -51,6 +51,11 @@ Addressed by *hyprland/workspaces*
default: false ++
If set to true, only the active workspace will be shown.
*ignore-workspaces*: ++
typeof: array ++
default: [] ++
Regexes to match against workspaces names. If there's a match, the workspace will not be shown. This takes precedence over *show-special*, *all-outputs* and *active-only*.
*sort-by*: ++
typeof: string ++
default: "default" ++
@ -131,6 +136,14 @@ Additional to workspace name matching, the following *format-icons* can be set.
}
```
"hyprland/workspaces": {
// Formatting omitted for brevity
"ignore-workspaces": [
"(special:)?chrome-sharing-indicator"
]
}
```
# Style
- *#workspaces*