Man page - waybar-niri-workspaces(5)
Packages contas this manual
- waybar-dwl-window(5)
- waybar-upower(5)
- waybar-jack(5)
- waybar-custom(5)
- waybar-clock(5)
- waybar-pulseaudio-slider(5)
- waybar-bluetooth(5)
- waybar-hyprland-language(5)
- waybar-gamemode(5)
- waybar-niri-workspaces(5)
- waybar-sway-scratchpad(5)
- waybar-cpu(5)
- waybar-wireplumber(5)
- waybar-river-layout(5)
- waybar-river-window(5)
- waybar-wlr-taskbar(5)
- waybar-image(5)
- waybar-sway-mode(5)
- waybar-backlight-slider(5)
- waybar-inhibitor(5)
- waybar-memory(5)
- waybar-tray(5)
- waybar-cffi(5)
- waybar-hyprland-window(5)
- waybar-mpd(5)
- waybar-battery(5)
- waybar-network(5)
- waybar-systemd-failed-units(5)
- waybar-pulseaudio(5)
- waybar(5)
- waybar-niri-language(5)
- waybar-sway-language(5)
- waybar-sway-workspaces(5)
- waybar-hyprland-workspaces(5)
- waybar-niri-window(5)
- waybar-states(5)
- waybar-privacy(5)
- waybar-sndio(5)
- waybar-disk(5)
- waybar-temperature(5)
- waybar-river-mode(5)
- waybar-river-tags(5)
- waybar-sway-window(5)
- waybar-idle-inhibitor(5)
- waybar-hyprland-submap(5)
- waybar-styles(5)
- waybar-keyboard-state(5)
- waybar-menu(5)
- waybar-power-profiles-daemon(5)
- waybar-mpris(5)
- waybar-backlight(5)
- waybar-dwl-tags(5)
apt-get install waybar
Manual
| waybar-niri-workspaces(5) | File Formats Manual | waybar-niri-workspaces(5) |
NAME
waybar - niri workspaces module
DESCRIPTION
The workspaces module displays the currently used workspaces in niri.
CONFIGURATION
Addressed by niri/workspaces
all-outputs:
typeof: bool
default: false
If set to false, workspaces will only be shown on the output they are on. If
set to true all workspaces will be shown on every output.
format:
typeof: string
default: {value}
The format, how information should be displayed.
format-icons:
typeof: array
Based on the workspace name, index and state, the corresponding icon gets
selected. See icons.
disable-click:
typeof: bool
default: false
If set to false, you can click to change workspace. If set to true this
behaviour is disabled.
disable-markup:
typeof: bool
default: false
If set to true, button label will escape pango markup.
current-only:
typeof: bool
default: false
If set to true, only the active or focused workspace will be shown.
on-update:
typeof: string
Command to execute when the module is updated.
expand:
typeof: bool
default: false
Enables this module to consume all left over space dynamically.
FORMAT REPLACEMENTS
{value}: Name of the workspace, or index for unnamed workspaces, as defined by niri.
{name}: Name of the workspace for named workspaces.
{icon}: Icon, as defined in format-icons.
{index}: Index of the workspace on its output.
{output}: Output where the workspace is located.
ICONS
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.
EXAMPLES
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
"browser": "",
"discord": "",
"chat": "<b></b>",
// Icons by state
"active": "",
"default": ""
}
}
Style
- #workspaces button
- #workspaces button.focused: The single focused workspace.
- #workspaces button.active: The workspace is active (visible) on its output.
- #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.
- #workspaces button#niri-workspace-<name>: Workspaces named this, or index for unnamed workspaces.
| 2025-02-21 |