Skip to content

feat(niri/workspaces): add {total} format token to workspaces#5110

Open
archion wants to merge 1 commit into
Alexays:masterfrom
archion:master
Open

feat(niri/workspaces): add {total} format token to workspaces#5110
archion wants to merge 1 commit into
Alexays:masterfrom
archion:master

Conversation

@archion

@archion archion commented Jun 7, 2026

Copy link
Copy Markdown

Currently, the niri/workspaces module provides tokens such as {index}, {name}, and {value}, but it lacks a native way to fetch the total number of workspaces. This metric is especially useful when a user wants to display a minimalist indicator by setting "current-only": true (e.g., rendering a clean 1 / 3 text pagination counter instead of a row of buttons).

@archion archion changed the title modules/niri/workspaces: add {total} format token to workspaces feat(niri/workspaces): add {total} format token to workspaces Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant