Skip to content

Module: Idle Inhibitor

Alex edited this page Feb 22, 2019 · 15 revisions

The idle_inhibitor module can simulate user interaction, also known as "presentation mode".

Config

Addressed by idle_inhibitor

option typeof default description
format string {status} The format, how the state should be displayed.
format-icons array Based on the current state, the corresponding icon gets selected.
max-length integer The maximum length in character the module should display.
on-click string Command to execute when clicked on the module. A click also toggles the state
on-click-right string Command to execute when you right clicked on the module.
on-scroll-up string Command to execute when scrolling up on the module.
on-scroll-down string Command to execute when scrolling down on the module.
tooltip bool true Option to disable tooltip on hover.

Format replacements:

string replacement
{status} status (activated or deactivated)
{icon} Icon, as defined in format-icons.

Example:

    "idle_inhibitor": {
        "format": "{icon}",
        "format-icons": {
            "activated": "",
            "deactivated": ""
        }
    }
Clone this wiki locally