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

NAME

6       waybar - sway mode module
7

DESCRIPTION

9       The mode module displays the current binding mode of Sway
10

CONFIGURATION

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-scroll-up:
42            typeof: string
43            Command to execute when scrolling up on the module.
44
45       on-scroll-down:
46            typeof: string
47            Command to execute when scrolling down on the module.
48
49       smooth-scrolling-threshold:
50            typeof: double
51            Threshold to be used when scrolling.
52
53       tooltip:
54            typeof: bool
55            default: true
56            Option to disable tooltip on hover.
57

EXAMPLES

59           "sway/window": {
60               "format": " {}",
61               "max-length": 50
62           }
63

STYLE

65       ·   #mode
66
67
68
69                                  2020-04-11               waybar-sway-mode(5)
Impressum