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       scroll-step:
29            typeof: int
30            default: 5
31            The speed in which to change the volume when scrolling.
32
33       on-click:
34            typeof: string
35            Command to execute when clicked on the module.
36           This replaces the default behaviour of toggling mute.
37
38       on-click-middle:
39            typeof: string
40            Command to execute when middle-clicked on the module using mouse‐
41       wheel.
42
43       on-click-right:
44            typeof: string
45            Command to execute when you right clicked on the module.
46
47       on-update:
48            typeof: string
49            Command to execute when the module is updated.
50
51       on-scroll-up:
52            typeof: string
53            Command to execute when scrolling up on the module.
54           This replaces the default behaviour of volume control.
55
56       on-scroll-down:
57            typeof: string
58            Command to execute when scrolling down on the module.
59           This replaces the default behaviour of volume control.
60
61       smooth-scrolling-threshold:
62            typeof: double
63            Threshold to be used when scrolling.
64

FORMAT REPLACEMENTS

66       {volume}: Volume in percentage.
67
68       {raw_value}: Volume as value reported by sndio.
69

EXAMPLES

71           "sndio": {
72               "format": "{raw_value} 🎜",
73               "scroll-step": 3
74           }
75

STYLE

77       ·   #sndio
78       ·   #sndio.muted
79
80
81
82                                  2021-02-10                   waybar-sndio(5)
Impressum