1waybar-idle-inhibitor(5) File Formats Manual waybar-idle-inhibitor(5)
2
3
4
6 waybar - idle_inhibitor module
7
9 The idle_inhibitor module can inhibiting the idle behavior such as
10 screen blanking, locking, and screensaving, also known as "presentation
11 mode".
12
14 format:
15 typeof: string
16 The format, how the state should be displayed.
17
18 format-icons:
19 typeof: array
20 Based on the current state, the corresponding icon gets selected.
21
22 rotate:
23 typeof: integer
24 Positive value to rotate the text label.
25
26 max-length:
27 typeof: integer
28 The maximum length in character the module should display.
29
30 min-length:
31 typeof: integer
32 The minimum length in characters the module should take up.
33
34 align:
35 typeof: float
36 The alignment of the text, where 0 is left-aligned and 1 is right-
37 aligned. If the module is rotated, it will follow the flow of the text.
38
39 on-click:
40 typeof: string
41 Command to execute when clicked on the module. A click also tog‐
42 gles the state
43
44 on-click-middle:
45 typeof: string
46 Command to execute when middle-clicked on the module using mouse‐
47 wheel.
48
49 on-click-right:
50 typeof: string
51 Command to execute when you right clicked on the module.
52
53 on-update:
54 typeof: string
55 Command to execute when the module is updated.
56
57 on-scroll-up:
58 typeof: string
59 Command to execute when scrolling up on the module.
60
61 on-scroll-down:
62 typeof: string
63 Command to execute when scrolling down on the module.
64
65 smooth-scrolling-threshold:
66 typeof: double
67 Threshold to be used when scrolling.
68
69 tooltip:
70 typeof: bool
71 default: true
72 Option to disable tooltip on hover.
73
75 {status}: status (activated or deactivated)
76
77 {icon}: Icon, as defined in format-icons
78
80 "idle_inhibitor": {
81 "format": "{icon}",
82 "format-icons": {
83 "activated": "",
84 "deactivated": ""
85 }
86 }
87
88
89
90 2021-04-15 waybar-idle-inhibitor(5)