.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-sndio" "5" "2024-05-06" .PP .SH NAME .PP waybar - sndio module .PP .SH DESCRIPTION .PP The \fBsndio\fR module displays the current volume reported by sndio(7).\& .PP Additionally, you can control the volume by scrolling \fBup\fR or \fBdown\fR while the cursor is over the module, and clicking on the module toggles mute.\& .PP .SH CONFIGURATION .PP \fBformat\fR: .br typeof: string .br default: {volume}% .br The format for how information should be displayed.\& .PP \fBrotate\fR: .br typeof: integer .br Positive value to rotate the text label.\& .PP \fBmax-length\fR: .br typeof: integer .br The maximum length in character the module should display.\& .PP \fBmin-length\fR: .br typeof: integer .br The minimum length in characters the module should accept.\& .PP \fBalign\fR: .br typeof: float .br The alignment of the label within the module, where 0 is left-aligned and 1 is right-aligned.\& If the module is rotated, it will follow the flow of the text.\& .PP \fBjustify\fR: .br typeof: string .br The alignment of the text within the module'\&s label, allowing options '\&left'\&, '\&right'\&, or '\¢er'\& to define the positioning.\& .PP \fBscroll-step\fR: .br typeof: int .br default: 5 .br The speed at which to change the volume when scrolling.\& .PP \fBon-click\fR: .br typeof: string .br Command to execute when clicked on the module.\& .RS 4 This replaces the default behaviour of toggling mute.\& .PP .RE \fBon-click-middle\fR: .br typeof: string .br Command to execute when middle-clicked on the module using mousewheel.\& .PP \fBon-click-right\fR: .br typeof: string .br Command to execute when you right-click on the module.\& .PP \fBon-update\fR: .br typeof: string .br Command to execute when the module is updated.\& .PP \fBon-scroll-up\fR: .br typeof: string .br Command to execute when scrolling up on the module.\& .br This replaces the default behaviour of volume control.\& .PP \fBon-scroll-down\fR: .br typeof: string .br Command to execute when scrolling down on the module.\& .br This replaces the default behaviour of volume control.\& .PP \fBsmooth-scrolling-threshold\fR: .br typeof: double .br Threshold to be used when scrolling.\& .PP .SH FORMAT REPLACEMENTS .PP \fB{volume}\fR: Volume in percentage.\& .PP \fB{raw_value}\fR: Volume as value reported by sndio.\& .PP .SH EXAMPLES .PP .nf .RS 4 "sndio": { "format": "{raw_value} 🎜", "scroll-step": 3 } .fi .RE .PP .SH STYLE .PP .PD 0 .IP \(bu 4 \fB#sndio\fR .IP \(bu 4 \fB#sndio.\&muted\fR