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 the dB tag if available, otherwise the volume tag.
  • 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. default might work.
  • mixer β€” string β€” Req: yes β€” Mixer channel to monitor. Master might 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