1waybar-sway-mode(5) File Formats Manual waybar-sway-mode(5)
2
3
4
6 waybar - sway mode module
7
9 The mode module displays the current binding mode of Sway
10
12 Addressed by sway/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 on-click:
29 typeof: string
30 Command to execute when clicked on the module.
31
32 on-click-middle:
33 typeof: string
34 Command to execute when middle-clicked on the module using mouse‐
35 wheel.
36
37 on-click-right:
38 typeof: string
39 Command to execute when you right clicked on the module.
40
41 on-update:
42 typeof: string
43 Command to execute when the module is updated.
44
45 on-scroll-up:
46 typeof: string
47 Command to execute when scrolling up on the module.
48
49 on-scroll-down:
50 typeof: string
51 Command to execute when scrolling down on the module.
52
53 smooth-scrolling-threshold:
54 typeof: double
55 Threshold to be used when scrolling.
56
57 tooltip:
58 typeof: bool
59 default: true
60 Option to disable tooltip on hover.
61
63 "sway/window": {
64 "format": " {}",
65 "max-length": 50
66 }
67
69 · #mode
70
71
72
73 2021-02-10 waybar-sway-mode(5)