1waybar-river-window(5) File Formats Manual waybar-river-window(5)
2
3
4
6 waybar - river window module
7
9 The window module displays the title of the currently focused window in
10 river
11
13 Addressed by river/window
14
15 format:
16 typeof: string
17 default: {}
18 The format, how information should be displayed. On {} data gets
19 inserted.
20
21 rotate:
22 typeof: integer
23 Positive value to rotate the text label.
24
25 max-length:
26 typeof: integer
27 The maximum length in character the module should display.
28
29 min-length:
30 typeof: integer
31 The minimum length in characters the module should accept.
32
33 align:
34 typeof: float
35 The alignment of the text, where 0 is left-aligned and 1 is right-
36 aligned. If the module is rotated, it will follow the flow of the text.
37
38 on-click:
39 typeof: string
40 Command to execute when clicked on the module.
41
42 on-click-middle:
43 typeof: string
44 Command to execute when middle-clicked on the module using mouse‐
45 wheel.
46
47 on-click-right:
48 typeof: string
49 Command to execute when you right-click on the module.
50
52 "river/window": {
53 "format": "{}"
54 }
55
57 • #window
58 • #window.focused Applied when the output this module's bar belongs
59 to is focused.
60
61
62
63 2023-11-05 waybar-river-window(5)