1waybar-river-mode(5)          File Formats Manual         waybar-river-mode(5)
2
3
4

NAME

6       waybar - river mode module
7

DESCRIPTION

9       The mode module displays the current mapping mode of river.
10

CONFIGURATION

12       Addressed by river/mode
13
14       format:
15            typeof: string
16            default: {}
17            The format, how information should be displayed. On {} data gets
18       inserted.
19
20       rotate:
21            typeof: integer
22            Positive value to rotate the text label.
23
24       max-length:
25            typeof: integer
26            The maximum length in character the module should display.
27
28       min-length:
29            typeof: integer
30            The minimum length in characters the module should take up.
31
32       align:
33            typeof: float
34            The alignment of the text, where 0 is left-aligned and 1 is right-
35       aligned. If the module is rotated, it will follow the flow of the text.
36
37       on-click:
38            typeof: string
39            Command to execute when clicked on the module.
40
41       on-click-middle:
42            typeof: string
43            Command to execute when middle-clicked on the module using mouse‐
44       wheel.
45
46       on-click-right:
47            typeof: string
48            Command to execute when you right clicked on the module.
49
50       on-update:
51            typeof: string
52            Command to execute when the module is updated.
53
54       on-scroll-up:
55            typeof: string
56            Command to execute when scrolling up on the module.
57
58       on-scroll-down:
59            typeof: string
60            Command to execute when scrolling down on the module.
61
62       smooth-scrolling-threshold:
63            typeof: double
64            Threshold to be used when scrolling.
65

EXAMPLES

67           "river/mode": {
68                "format": " {}"
69           }
70

STYLE

72#mode
73#mode.<mode>
74
75
76
77                                  2023-08-16              waybar-river-mode(5)
Impressum