-
-
Notifications
You must be signed in to change notification settings - Fork 707
Module: Idle Inhibitor
Ian Manske edited this page Oct 17, 2022
·
15 revisions
The idle_inhibitor
module can inhibit idle behavior such as screen blanking, locking, and screensaving, also known as "presentation mode".
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. | |
rotate |
integer | Positive value to rotate the text label. | |
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-middle |
string | Command to execute when you middle clicked on the module using mousewheel. | |
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. | |
smooth-scrolling-threshold |
double | Threshold to be used when scrolling. | |
tooltip |
bool | true |
Option to enable tooltip on hover. |
tooltip-format-activated |
string | {status} |
This format is used when the inhibit is activated. |
tooltip-format-deactivated |
string | {status} |
This format is used when the inhibit is deactivated. |
start-activated |
bool | false |
Whether the inhibit should be activated when starting waybar. |
timeout |
double | 0 |
Time in minutes to automatically deactivate. |
string | replacement |
---|---|
{status} |
status (activated or deactivated ) |
{icon} |
Icon, as defined in format-icons . |
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
}
#idle_inhibitor
-
#idle_inhibitor.<status>
-
<status>
is one of the{status}
format replacement. For more information see Format replacements
-
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- Clock
- Custom
- DWL
- Disk
- Gamemode
- Group
- Hyprland
- Idle Inhibitor
- Image
- JACK
- Keyboard State
- Language
- Load
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- WirePlumber
- Workspaces
- Writing Modules