yambar-modules-pulse(5)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the yambar-modules-pulse(5) page β€” File Formats Manual energy, no cap. This is all about pulse, which Monitors a PulseAudio source and/or sink ✨


🌸 TAGS 🌸

vibe check time πŸ’… here are the tags this thing gives you:

  • online β€” bool β€” true when connected to the PulseAudio server 🫢
  • sink_online β€” bool β€” true when the sink is present ✨
  • source_online β€” bool β€” true when the source is present 🌈
  • sink_percent β€” range β€” sink volume level, as a percentage πŸ”₯
  • source_percent β€” range β€” source volume level, as a percentage ⭐
  • sink_muted β€” bool β€” true if the sink is muted, otherwise false πŸ’€
  • source_muted β€” bool β€” true if the source is muted, otherwise false πŸ™ˆ
  • sink_port β€” string β€” description of the active sink port πŸŽ€
  • source_port β€” string β€” description of the active source port πŸ¦‹

πŸŽ€ CONFIGURATION πŸŽ€

the config table, in all its iconic glory πŸ‘‘

  • sink β€” string β€” Req: no β€” name of sink to monitor (default: @DEFAULT_SINK@) πŸ’œ
  • source β€” string β€” Req: no β€” name of source to monitor (default: @DEFAULT_SOURCE@) 🌸

✨ EXAMPLES ✨

slay, here’s the example β€” code is sacred, so it’s copied exactly, fr fr πŸ’…

           bar:
             left:
               - pulse:
                    content:
                       string: {text: "{sink_percent}% ({sink_port})"}

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, iykyk 🌈


signed off on 2024-04-22 inside the yambar-modules-pulse(5) page, File Formats Manual edition β€” bye bestie, stay hydrated and may your sink volume be exactly what you wanted πŸ«ΆπŸ’–

πŸ“¦ where this page comes from