waybar-sndio(5)
π waybar-sndio(5) π
okay bestie, sit down, hydrate, and let me tell you about the sndio module for waybar β it lives in the File Formats Manual section and it is so cute once you get to know it π
β¨ NAME β¨
waybar - sndio module β your lil volume bestie, but make it sndio πΈ
π¦ DESCRIPTION π¦
The sndio module shows you the current volume that sndio(7) is reporting. that's it, that's the whole vibe check π
but wait, there's more, because it's also interactive: scroll up or down while your cursor is hovering over the module and you can control the volume. and if you click on the module? it toggles mute. no cap, clicking = mute toggle. iconic behaviour fr fr π
π CONFIGURATION π
every single knob you can turn, listed with love and zero skips:
format- typeof:
string - default:
{volume}% - the format for how information should be displayed β¨
- typeof:
rotate- typeof:
integer - positive value to rotate the text label (in 90 degree increments) π
- typeof:
max-length- typeof:
integer - the maximum length in character the module should display π
- typeof:
min-length- typeof:
integer - the minimum length in characters the module should accept π
- typeof:
align- typeof:
float - the alignment of the label within the module, where
0is left-aligned and1is right-aligned. if the module is rotated, it will follow the flow of the text π
- typeof:
justify- typeof:
string - the alignment of the text within the module's label, allowing options
'left','right', or'center'to define the positioning π«Ά
- typeof:
scroll-step- typeof:
int - default:
5 - the speed at which to change the volume when scrolling. yes,
5is the default, remember it π
- typeof:
on-click- typeof:
string - command to execute when clicked on the module.
- > heads up bestie: this replaces the default behaviour of toggling mute π
- typeof:
on-click-middle- typeof:
string - command to execute when middle-clicked on the module using mousewheel π±οΈ
- typeof:
on-click-right- typeof:
string - command to execute when you right-click on the module π±οΈ
- typeof:
on-update- typeof:
string - command to execute when the module is updated π
- typeof:
on-scroll-up- typeof:
string - command to execute when scrolling up on the module.
- this replaces the default behaviour of volume control π
- typeof:
on-scroll-down- typeof:
string - command to execute when scrolling down on the module.
- this replaces the default behaviour of volume control π
- typeof:
smooth-scrolling-threshold- typeof:
double - threshold to be used when scrolling π§
- typeof:
menu- typeof:
string - action that popups the menu π
- typeof:
menu-file- typeof:
string - location of the menu descriptor file. there need to be an element of type
GtkMenuwith idmenuποΈ
- typeof:
menu-actions- typeof:
array - the actions corresponding to the buttons of the menu ποΈ
- typeof:
expand- typeof:
bool - default:
false - enables this module to consume all left over space dynamically. main character energy, taking up all the room π
- typeof:
π FORMAT REPLACEMENTS π
the little magic words you can drop into your format string:
{volume}β volume in percentage π―{raw_value}β volume as value reported bysndioπ₯
πΈ EXAMPLES πΈ
here's the moment you've been waiting for, a real config snippet, copied exactly, no edits, periodt:
"sndio": {
"format": "{raw_value} π",
"scroll-step": 3
}
see how scroll-step is 3 there? cute. that's the whole point of examples π«Ά
π STYLE π
the CSS selectors you can style, because of course you can style them:
#sndio#sndio.muted
that's the whole page bestie, go forth and vibe with your volume π π¦β¨
p.s. this came to you from waybar-sndio(5), dated 2026-02-08 β mwah, love u, bye π
π¦ where this page comes from
- ubuntu resolute: waybar 0.15.0-1 Β· MIT
- ubuntu stonking: waybar 0.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms