yambar-modules-alsa(5)
πΈ NAME πΈ
Okay bestie, welcome to the yambar-modules-alsa(5) page β it lives in the File Formats Manual, and it's here to explain the alsa module. π
alsa β Monitors an alsa soundcard for volume and mute/unmute changes.
β¨ TAGS β¨
Here's the tag lineup, and every single one is lowkey essential:
onlineβ bool β True when the ALSA device has successfully been opened.dBβ range β Volume level (in dB), with min and max as start and end range values.volumeβ range β Volume level (raw), with min and max as start and end range values.percentβ range β Volume level, as a percentage. This value is based on thedBtag if available, otherwise thevolumetag.mutedβ bool β True if muted, otherwise false.
π CONFIGURATION π
This is the config situation, fr fr β every field, every requirement, no skipped details:
cardβ string β Req: yes β The soundcard name.defaultmight work.mixerβ string β Req: yes β Mixer channel to monitor.Mastermight work.volumeβ string β Req: no β The name of the channel to use as source for the volume level (default: first available channel, usually"Front Left").mutedβ string β Req: no β The name of the channel to use as source for the muted state (default: first available channel, usually"Front Left").
π¦ EXAMPLES π¦
This example is giving main character bar energy:
bar:
left:
- alsa:
card: hw:PCH
mixer: Master
content: {string: {text: "{volume}"}}
π SEE ALSO π
Go peek at these too, iykyk:
That's the whole page, bestie β no skipped tags, no missing config fields, we ate. π«Ά Footer source/version and date, as promised: manual name yambar-modules-alsa(5), date 2024-04-22. Now go give your soundcard main character energy. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms