niri: add support for urgency indicators to workspaces

This commit is contained in:
Duncan Overbruck
2025-05-13 21:34:24 +02:00
parent 0332d2ebf8
commit 47e0f42523
3 changed files with 21 additions and 0 deletions

View File

@ -70,6 +70,7 @@ Additional to workspace name matching, the following *format-icons* can be set.
- *default*: Will be shown, when no string matches are found.
- *focused*: Will be shown, when workspace is focused.
- *active*: Will be shown, when workspace is active on its output.
- *urgent*: Will be shown, when workspace has urgent windows.
# EXAMPLES
@ -95,6 +96,7 @@ Additional to workspace name matching, the following *format-icons* can be set.
- *#workspaces button*
- *#workspaces button.focused*: The single focused workspace.
- *#workspaces button.active*: The workspace is active (visible) on its output.
- *#workspaces button.urgent*: The workspace has one or more urgent windows.
- *#workspaces button.empty*: The workspace is empty.
- *#workspaces button.current_output*: The workspace is from the same output as
the bar that it is displayed on.