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

NAME

6       waybar - sndio module
7

DESCRIPTION

9       The sndio module displays the current volume reported by sndio(7).
10
11       Additionally, you can control the volume by scrolling up or down while
12       the cursor is over the module, and clicking on the module toggles mute.
13

CONFIGURATION

15       format:
16            typeof: string
17            default: {volume}%
18            The format for how information should be displayed.
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       scroll-step:
38            typeof: int
39            default: 5
40            The speed in which to change the volume when scrolling.
41
42       on-click:
43            typeof: string
44            Command to execute when clicked on the module.
45           This replaces the default behaviour of toggling mute.
46
47       on-click-middle:
48            typeof: string
49            Command to execute when middle-clicked on the module using mouse‐
50       wheel.
51
52       on-click-right:
53            typeof: string
54            Command to execute when you right clicked on the module.
55
56       on-update:
57            typeof: string
58            Command to execute when the module is updated.
59
60       on-scroll-up:
61            typeof: string
62            Command to execute when scrolling up on the module.
63           This replaces the default behaviour of volume control.
64
65       on-scroll-down:
66            typeof: string
67            Command to execute when scrolling down on the module.
68           This replaces the default behaviour of volume control.
69
70       smooth-scrolling-threshold:
71            typeof: double
72            Threshold to be used when scrolling.
73

FORMAT REPLACEMENTS

75       {volume}: Volume in percentage.
76
77       {raw_value}: Volume as value reported by sndio.
78

EXAMPLES

80           "sndio": {
81               "format": "{raw_value} 🎜",
82               "scroll-step": 3
83           }
84

STYLE

86#sndio
87#sndio.muted
88
89
90
91                                  2021-04-15                   waybar-sndio(5)
Impressum