Provided by: yambar_1.8.0-2_amd64 bug

NAME

       alsa - Monitors an alsa soundcard for volume and mute/unmute changes

TAGS

       ┌────────┬───────┬──────────────────────────┐
       │NameTypeDescription              │
       ├────────┼───────┼──────────────────────────┤
       │online  │ bool  │ True when the ALSA       │
       │        │       │ device has successfully  │
       │        │       │ been opened              │
       ├────────┼───────┼──────────────────────────┤
       │volume  │ range │ Volume level, with min   │
       │        │       │ and max as start and end │
       │        │       │ range values             │
       ├────────┼───────┼──────────────────────────┤
       │percent │ range │ Volume level, as a       │
       │        │       │ percentage               │
       ├────────┼───────┼──────────────────────────┤
       │muted   │ bool  │ True if muted, otherwise │
       │        │       │ false                    │
       └────────┴───────┴──────────────────────────┘

CONFIGURATION

       ┌───────┬────────┬─────┬─────────────────────┐
       │NameTypeReqDescription         │
       ├───────┼────────┼─────┼─────────────────────┤
       │card   │ string │ yes │ The soundcard name. │
       │       │        │     │ default might work. │
       ├───────┼────────┼─────┼─────────────────────┤
       │mixer  │ string │ yes │ Mixer channel to    │
       │       │        │     │ monitor. Master     │
       │       │        │     │ might work.         │
       ├───────┼────────┼─────┼─────────────────────┤
       │volume │ string │ no  │ The name of the     │
       │       │        │     │ channel to use as   │
       │       │        │     │ source for the      │
       │       │        │     │ volume level        │
       │       │        │     │ (default: first     │
       │       │        │     │ available channel,  │
       │       │        │     │ usually "Front      │
       │       │        │     │ Left").             │
       ├───────┼────────┼─────┼─────────────────────┤
       │muted  │ string │ no  │ The 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)

                                            2022-07-10                     yambar-modules-alsa(5)