docs: include new ignore-workspaces example and documentation

pull/2568/head
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 ++ default: false ++
If set to true, only the active workspace will be shown. 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*: ++ *sort-by*: ++
typeof: string ++ typeof: string ++
default: "default" ++ 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 # Style
- *#workspaces* - *#workspaces*