waybar-inhibitor(5)
π waybar-inhibitor(5) β the inhibitor module, bestie edition π
okay so this is a page from the File Formats Manual for waybar-inhibitor(5), aka the waybar inhibitor module, and I'm gonna walk you through literally everything in it. no skips, no cuts, we're doing the whole thing. β¨
πΈ NAME πΈ
waybar β inhibitor module. that's it, that's the name, she's simple and she knows it π
π¦ DESCRIPTION π¦
the inhibitor module lets you take an inhibitor lock β the kind that logind hands out. that's the vibe. it's giving "please don't sleep, I'm busy."
want the actual lore? go read systemd-inhibit(1), it explains the whole thing. π
π CONFIGURATION π
this is the main character section, buckle up π
whatβ typeof:stringorarray. the inhibitor lock (or locks, plural, she's flexible) that should be taken when the module is active. your options are:idle,shutdown,sleep,handle-power-key,handle-suspend-key,handle-hibernate-key, andhandle-lid-switch. pick your fighter(s) πformatβ typeof:string. the format, aka how the state should be displayed.format-iconsβ typeof:array. based on the current state, the corresponding icon gets selected. cute lil icon switcheroo.rotateβ typeof:integer. a positive value rotates the text label, in 90 degree increments. spin her around πmax-lengthβ typeof:integer. the maximum length in character the module should display.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 listen β if the module is rotated, it follows the flow of the text. she adapts, she's versatile π«Άjustifyβ typeof:string. the alignment of the text within the module's label, letting the options'left','right', or'center'define the positioning.on-clickβ typeof:string. command to execute when clicked on the module. oh and heads up β a click also toggles the state. two things at once, multitasking queen πon-click-middleβ typeof:string. command to execute when middle-clicked on the module using mousewheel.on-click-rightβ typeof:string. command to execute when you right-click on the module.on-updateβ typeof:string. command to execute when the module is updated.on-scroll-upβ typeof:string. command to execute when scrolling up on the module.on-scroll-downβ typeof:string. command to execute when scrolling down on the module.smooth-scrolling-thresholdβ typeof:double. threshold to be used when scrolling.tooltipβ typeof:bool, default:true. option to disable tooltip on hover.menuβ typeof:string. action that popups the menu. β οΈ cannot be"on-click"β that's a hard no, don't even try it.menu-fileβ typeof:string. location of the menu descriptor file. there need to be an element of type
GtkMenu with id menu
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. she's hungry, she wants the whole row π
β¨ FORMAT REPLACEMENTS β¨
the little placeholders you can drop into your format, they're iconic:
{status}: status (activatedordeactivated){icon}: Icon, as defined informat-icons
π EXAMPLES π
here's the whole thing in action, look at her go:
"inhibitor": {
"what": "handle-lid-switch",
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
}
bestie reminder: everything above is exactly as written in the original β flags, types, defaults, all of it. nothing invented, nothing dropped. iykyk π
okay that's the whole page !! this came from waybar-inhibitor(5), dated 2026-02-08 β shoutout to that date, and to waybar-inhibitor(5) herself. go forth and inhibit things responsibly, mwah πππ¦β¨
π¦ 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