NIRI-WORKSPACES(1)
β¨ NIRI-WORKSPACES β the glow-up your workspace setup deserved β¨
okay bestie, so this one lives in the niri-companion Manual, and honestly? it's giving personal assistant for your desktop π
πΈ NAME πΈ
niri-workspaces β the niri-companion workspace management tool. that's it, that's the girl π«Ά
π¦ SYNOPSIS π¦
niri-workspaces
yeah. no flags. no args. she just runs. iconic behaviour honestly β¨
π DESCRIPTION π
so niri-workspaces manages complex workspace layouts, which is a fancy way of saying it orchestrates the whole vibe for you π₯
here's the tea: it pops up a list of workspaces through a dmenu-compatible picker (think rofi, bestie). then when you pick one? it triggers a whole sequence of commands that opens specific apps on specific workspaces. like a little choreography. main character energy ngl π
π CONFIGURATION π
everything lives in:
~/.config/niri-companion/settings.toml
[workspaces]
dmenu_commandβ the picker command it uses. default is"rofi -dmenu", but you can swap in whatever dmenu-compatible cutie you want πtask_delayβ the default wait time, in seconds, between starting applications. this is the lil breather between each launch so nothing chokes πΈ
[workspaces.items]
this is where you define which workspaces show up in the picker. each item is a list of task objects. yes, a list β stack 'em up bestie π
Task Object Fields
workspaceβ the target workspace number. where is this task going? π―runβ the shell command to execute. verbatim, exactly as you write it.task_delayβ (optional) a specific delay just for this task. overrides the default, no cap π
π EXAMPLES π
Example Workspace Setup
[workspaces.items]
"dev" = [
{ workspace = 1, run = 'foot -e nvim' },
{ workspace = 2, run = 'brave --new-window github.com', task_delay = 1.5 }
]
Usage
running the tool:
niri-workspaces
and when you select "dev", here's the sequence it goes through, step by step:
- open a terminal with
nvimon workspace 1. - wait 0.8s (that's the default).
- open Brave on workspace 2.
- wait 1.5s (that's the specific override, bc that task said "no thank u, I need longer").
β SEE ALSO β
go read your siblings too, they're also slaying π
lowkey reminder: those task objects are lists, so the order you write them in is the order they fire. the delays are doing real work here, don't skip 'em π
okay that's the whole page, mwah π this was niri-workspaces 4.0.1, born May 2026, from the niri-companion girliesss β ily, go build ur dream layout, periodt π
β¨
π¦ where this page comes from
- ubuntu stonking: niri-companion 5.0.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms