oniri(1)
π oniri(1) π
okay so bestie, welcome to the oniri(1) manual β this is the page for Oniri, the tool that's literally about to make your niri workspace life SO much easier, no cap β¨
πΈ NAME πΈ
Oniri β a tool that automatically maximizes the only window of a niri workspace. that's it, that's the whole vibe π
π¦ DESCRIPTION π¦
okay so picture this: Oniri is a tool that automatically maximizes the only window of a niri workspace. and when I say "the only window" I mean it handles both cases β whether it's the first one opened, or the last remaining one after all the other windows got closed. the way it just knows?? iconic. π
but lowkey, that last-window behavior is configurable β see OPTIONS below, iykyk π
β¨ SYNOPSIS β¨
oniri [OPTIONS]
π OPTIONS π
-F,--first-onlyβ only maximize the first window opened, and like, do nothing to the last remaining one. simple. restrained. we respect it π«Ά-T,--tiling-layoutβ unmaximize the first window when you open a second one, just like a tiling compositor would. yes bestie, it's giving tiling energy fr fr π₯-E,--edges-maximizingβ maximize windows to the edges. maximize, but make it edge-to-edge π-R,--reclaim-spaceβ reclaim that empty screen space left behind by closed windows. not the wasted pixels π Oniri's got you, it'll scoop that space right back up π-H,--height-tolerance <number>β set the height size tolerance (in pixels) used when comparing the window size to the output size, to figure out if the window is maximized or not (https://github.com/Antiz96/oniri/issues/3). defaults to150. the tolerance is for the height, bestie, don't mix it up π§-W,--width-tolerance <number>β set the width size tolerance (in pixels) used when comparing the window size to the output size, to figure out if the window is maximized or not (https://github.com/Antiz96/oniri/issues/3). defaults to150. same energy, but for the width π«-h,--helpβ display the help message. the classic. the icon π-V,--versionβ display version information. know your version, love your version β
π EXIT STATUS π
so here's the tea on exit codes, because we love a status that tells us what went down:
0β Ok. we slayed, everything worked π1β Failed to create or acquire the lockfile. the lockfile said "no thanks" π2β Failed to initialize niri IPC socket connections. the sockets were not socketing π3β Failed to initialize the output(s) map. the output map refused to map π4β Failed to initialize the window(s) / workspace(s) map. windows and workspaces said "not today" π5β Failed to read events from the niri IPC. couldn't hear a single event, tragic fr fr π¦
π SEE ALSO π
go read up, bestie, knowledge is power π
π BUGS π
found a bug? don't suffer in silence β please report bugs to the GitHub page: https://github.com/Antiz96/oniri. we'll fix it together, team effort π«Ά
π AUTHOR π
Robin Candau <robincandau@mailbox.org> β the main character who made this happen π
and that's a wrap, bestie! this was Oniri 1.3.10, dated 2026-10-25, and it's the oniri(1) manual. go maximize those windows, you've got this πβ¨π¦
π¦ where this page comes from
- arch rolling: oniri 1.3.10-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms