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

NAME

6       waybar - pulseaudio slider module
7

DESCRIPTION

9       The pulseaudio slider module displays and controls the current volume
10       of the default sink or source as a bar.
11
12       The volume can be controlled by dragging the slider across the bar or
13       clicking on a specific position.
14

CONFIGURATION

16       min:
17           typeof: int
18           default: 0
19           The minimum volume value the slider should display and set.
20
21       max:
22           typeof: int
23           default: 100
24           The maximum volume value the slider should display and set.
25
26       orientation:
27           typeof: string
28           default: horizontal
29           The orientation of the slider. Can be either `horizontal` or `ver‐
30       tical`.
31

EXAMPLES

33           "modules-right": [
34               "pulseaudio-slider",
35           ],
36           "pulseaudio/slider": {
37               "min": 0,
38               "max": 100,
39               "orientation": "horizontal"
40           }
41

STYLE

43       The slider is a component with multiple CSS Nodes, of which the follow‐
44       ing are exposed:
45
46       #pulseaudio-slider:
47           Controls the style of the box around the slider and bar.
48
49       #pulseaudio-slider slider:
50           Controls the style of the slider handle.
51
52       #pulseaudio-slider trough:
53           Controls the style of the part of the bar that has not been filled.
54
55       #pulseaudio-slider highlight:
56           Controls the style of the part of the bar that has been filled.
57
58   STYLE EXAMPLE
59           #pulseaudio-slider slider {
60               min-height: 0px;
61               min-width: 0px;
62               opacity: 0;
63               background-image: none;
64               border: none;
65               box-shadow: none;
66           }
67
68           #pulseaudio-slider trough {
69               min-height: 80px;
70               min-width: 10px;
71               border-radius: 5px;
72               background-color: black;
73           }
74
75           #pulseaudio-slider highlight {
76               min-width: 10px;
77               border-radius: 5px;
78               background-color: green;
79           }
80
81
82
83                                  2023-11-05       waybar-pulseaudio-slider(5)
Impressum