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

NAME

6       waybar - river layout module
7

DESCRIPTION

9       The layout module displays the current layout in river.
10
11       It may not be set until a layout is first applied.
12

CONFIGURATION

14       Addressed by river/layout
15
16       format:
17            typeof: string
18            default: {}
19            The format, how information should be displayed. On {} data gets
20       inserted.
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 accept.
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.
42
43       on-click-middle:
44            typeof: string
45            Command to execute when middle-clicked on the module using mouse‐
46       wheel.
47
48       on-click-right:
49            typeof: string
50            Command to execute when you right-click on the module.
51

EXAMPLE

53           "river/layout": {
54                "format": "{}",
55                "min-length": 4,
56                "align": "right"
57           }
58

STYLE

60#layout
61#layout.focused Applied when the output this module's bar belongs
62           to is focused.
63
64

SEE ALSO

66       waybar(5), river(1)
67
68
69
70                                  2023-11-05            waybar-river-layout(5)
Impressum