waybar-river-window(5)
π waybar-river-window(5) β the manual page, bestie edition π
Okay so this is waybar-river-window(5), from the file formats manual, and it is exactly the page you want if you're a river user who wants their bar to show off what window they're in. Stay with me, it's short and it ate. β¨
πΈ NAME πΈ
waybar β the river window module. yup that's it, that's the name, she's simple and she's iconic π
π¦ DESCRIPTION π¦
The window module displays the title of the currently focused window in river. that's the whole vibe β one job, done flawlessly, no notes π
π CONFIGURATION π
You address this whole thing by river/window. like, that's its little address in your config, that's how it knows it's being talked to π«Ά
formatβ typeof: string, default:{}. This is the format, aka how the info should be displayed. On{}the data gets inserted. so{}is literally the placeholder for the window title. slay.rotateβ typeof: integer. A positive value rotates the text label, and it does it in 90 degree increments. so you're rotating in lil quarter-turns, no in-between πmax-lengthβ typeof: integer. The maximum length in character the module should display. (yes, "character", singular, the manpage said it, I'm not fixing it, it's camp π)min-lengthβ typeof: integer. The minimum length in characters the module should accept.alignβ typeof: float. The alignment of the label within the module, where0is left-aligned and1is right-aligned. and if the module is rotated, it will follow the flow of the text. cute, it knows where it's going β¨justifyβ typeof: string. The alignment of the text within the module's label, and you get to pick'left','right', or'center'to define the positioning.on-clickβ typeof: string. Command to execute when clicked on the module.on-click-middleβ typeof: string. Command to execute when middle-clicked on the module using mousewheel. yup, the mousewheel click counts, she's inclusive π±οΈon-click-rightβ typeof: string. Command to execute when you right-click on the module.menuβ typeof: string. Action that popups the menu.menu-fileβ typeof: string. Location of the menu descriptor file. There need to be an element of typeGtkMenuwith idmenu.menu-actionsβ typeof: array. The actions corresponding to the buttons of the menu.expandβ typeof: bool, default:false. Enables this module to consume all left over space dynamically. main character energy: she takes up the whole room π
π EXAMPLES π
okay this is the one you actually came for, here's how it looks in your config:
"river/window": {
"format": "{}"
}
periodt. that's the whole setup. π
π STYLE π
The CSS selectors you can style, bestie:
#window#window.focusedβ Applied when the output this module's bar belongs to is focused. so when your bar's output is the focused one, this class shows up and you can make it glow, or not, your call π
πΈ ok that's the entire page, no cap. now go make your bar pretty and tell river I said hi π
signing off: this was waybar-river-window(5), dated 2026-02-08, and yeah, that's the manual name and the version/date info folded right in here at the end instead of a boring footer line, you're welcome π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: waybar 0.15.0-1 Β· MIT
- ubuntu stonking: waybar 0.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms