.\" Generated by scdoc 1.10.0 .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-idle-inhibitor" "5" "2019-12-31" .P .SH NAME .P waybar - idle_inhibitor module .P .SH DESCRIPTION .P The \fBidle_inhibitor\fR module can inhibiting the idle behavior such as screen blanking, locking, and screensaving, also known as "presentation mode". .P .SH CONFIGURATION .P \fBformat\fR: .br typeof: string .br The format, how the state should be displayed. .P \fBformat-icons\fR: .br typeof: array .br Based on the current state, the corresponding icon gets selected. .P \fBrotate\fR: .br typeof: integer .br Positive value to rotate the text label. .P \fBmax-length\fR: .br typeof: integer .br The maximum length in character the module should display. .P \fBon-click\fR: .br typeof: string .br Command to execute when clicked on the module. A click also toggles the state .P \fBon-click-right\fR: .br typeof: string .br Command to execute when you right clicked on the module. .P \fBon-scroll-up\fR: .br typeof: string .br Command to execute when scrolling up on the module. .P \fBon-scroll-down\fR: .br typeof: string .br Command to execute when scrolling down on the module. .P \fBsmooth-scrolling-threshold\fR: .br typeof: double .br Threshold to be used when scrolling. .P \fBtooltip\fR: .br typeof: bool .br default: true .br Option to disable tooltip on hover. .P .SH FORMAT REPLACEMENTS .P \fB{status}\fR: status (\fBactivated\fR or \fBdeactivated\fR) .P \fB{icon}\fR: Icon, as defined in \fBformat-icons\fR .P .SH EXAMPLES .P .nf .RS 4 "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } } .fi .RE