waybar-idle-inhibitor(5)
π€ waybar-idle-inhibitor(5) π€
okay bestie, welcome to the waybar-idle-inhibitor page from the File Formats Manual β yes it's a section 5 joint, we're being fancy today π
β¨ NAME β¨
waybar β the idle_inhibitor module, aka the one that stops your screen from ghosting you π«Ά
πΈ DESCRIPTION πΈ
The idle_inhibitor module can inhibit the idle behavior β think screen blanking, locking, and screensaver. You know it, you love it: it's the one and only "presentation mode". π
Basically your laptop stays awake when you need it to, no cap.
π CONFIGURATION π
okay this is the long part but stay with me, every single one of these matters, fr fr π
formatβ typeof:stringThe format, how the state should be displayed.format-iconsβ typeof:arrayBased on the current state, the corresponding icon gets selected. β¨rotateβ typeof:integerPositive value to rotate the text label (in 90 degree increments).max-lengthβ typeof:integerThe maximum length in character the module should display.min-lengthβ typeof:integerThe minimum length in characters the module should accept.alignβ typeof:floatThe alignment of the label within the module, where0is left-aligned and1is right-aligned. Lowkey important: if the module is rotated, it will follow the flow of the text.justifyβ typeof:stringThe alignment of the text within the module's label, allowing options'left','right', or'center'to define the positioning.on-clickβ typeof:stringCommand to execute when clicked on the module. Bestie note: a click also toggles the state πon-click-middleβ typeof:stringCommand to execute when middle-clicked on the module using mousewheel.on-click-rightβ typeof:stringCommand to execute when you right-click on the module.on-updateβ typeof:stringCommand to execute when the module is updated.on-scroll-upβ typeof:stringCommand to execute when scrolling up on the module.on-scroll-downβ typeof:stringCommand to execute when scrolling down on the module.smooth-scrolling-thresholdβ typeof:doubleThreshold to be used when scrolling.start-activatedβ typeof:bool, default:falseWhether the inhibit should be activated when starting waybar.timeoutβ typeof:doubleThe number of minutes the inhibition should last.tooltipβ typeof:bool, default:trueOption to disable tooltip on hover.tooltip-format-activatedβ typeof:stringThis format is used when the inhibit is activated.tooltip-format-deactivatedβ typeof:stringThis format is used when the inhibit is deactivated.menuβ typeof:stringAction that popups the menu. Cannot be"on-click". π«menu-fileβ typeof:stringLocation of the menu descriptor file. There need to be an element of type
GtkMenu with id menu
menu-actionsβ typeof:arrayThe actions corresponding to the buttons of the menu.expandβ typeof:bool, default:falseEnables this module to consume all left over space dynamically.
π¦ FORMAT REPLACEMENTS π¦
these are the little placeholders you can drop into your formats, iykyk π§
{status}β status (activatedordeactivated){icon}β Icon, as defined informat-icons
β EXAMPLES β
not me giving you a whole config snippet, obsessed π
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"timeout": 30.5
}
heads up bestie: those two icon values in format-icons are real glyphs, so copy them exactly as they appear β don't retype them by hand or you'll get sad little boxes. π
π STYLE π
the selectors you can flex in your CSS, in order:
#idle_inhibitor#idle_inhibitor.activated#idle_inhibitor.deactivated
π SEE YOU, BESTIE π
That's the whole page! This one comes from the File Formats Manual, dated 2026-02-08, filed under waybar-idle-inhibitor(5) β so go forth, keep your screen awake, and slay π
β¨ππ¦
π¦ 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