yambar-modules-alsa - Man Page

Monitors an alsa soundcard for volume and mute/unmute changes

Tags

NameTypeDescription
onlineboolTrue when the ALSA device has successfully been opened
volumerangeVolume level, with min and max as start and end range values
percentrangeVolume level, as a percentage
mutedboolTrue if muted, otherwise false

Configuration

NameTypeReqDescription
cardstringyesThe soundcard name. default might work.
mixerstringyesMixer channel to monitor. Master might work.
volumestringnoThe name of the channel to use as source for the volume level (default: first available channel, usually "Front Left").
mutedstringnoThe name of the channel to use as source for the muted state (default: first available channel, usually "Front Left").

Examples

  bar:
    left:
      - alsa:
          card: hw:PCH
          mixer: Master
          content: {string: {text: "{volume}"}}

See Also

yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)

Referenced By

yambar-modules(5).

2022-08-26