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: string The format, how the state should be displayed.
  • format-icons β€” typeof: array Based on the current state, the corresponding icon gets selected. ✨
  • rotate β€” typeof: integer Positive value to rotate the text label (in 90 degree increments).
  • 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, where 0 is left-aligned and 1 is right-aligned. Lowkey important: if the module is rotated, it will follow the flow of the text.
  • justify β€” typeof: string The alignment of the text within the module's label, allowing options 'left', 'right', or 'center' to define the positioning.
  • on-click β€” typeof: string Command to execute when clicked on the module. Bestie note: a click also toggles the state πŸ‘€
  • 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.
  • start-activated β€” typeof: bool, default: false Whether the inhibit should be activated when starting waybar.
  • timeout β€” typeof: double The number of minutes the inhibition should last.
  • tooltip β€” typeof: bool, default: true Option to disable tooltip on hover.
  • tooltip-format-activated β€” typeof: string This format is used when the inhibit is activated.
  • tooltip-format-deactivated β€” typeof: string This format is used when the inhibit is deactivated.
  • menu β€” typeof: string Action that popups the menu. Cannot be "on-click". 🚫
  • 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.

πŸ¦‹ FORMAT REPLACEMENTS πŸ¦‹

these are the little placeholders you can drop into your formats, iykyk 🧚

  • {status} β€” status (activated or deactivated)
  • {icon} β€” Icon, as defined in format-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