logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pulse - Monitors a PulseAudio source and/or sink

Configuration

┌────────┬────────┬─────┬───────────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├────────┼────────┼─────┼───────────────────────────────────────────────────────────────────────────────┤ │ sink │ string │ no │ Name of sink to monitor (default: @DEFAULT_SINK@). │ ├────────┼────────┼─────┼───────────────────────────────────────────────────────────────────────────────┤ │ source │ string │ no │ Name of source to monitor (default: @DEFAULT_SOURCE@). │ └────────┴────────┴─────┴───────────────────────────────────────────────────────────────────────────────┘

Examples

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

Name

pulse - Monitors a PulseAudio source and/or sink

See Also

yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5) 2024-04-20 yambar-modules-pulse(5)

Tags

┌────────────────┬────────┬─────────────────────────────────────────────────────────────────────────────┐ │ NameTypeDescription │ ├────────────────┼────────┼─────────────────────────────────────────────────────────────────────────────┤ │ 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 │ └────────────────┴────────┴─────────────────────────────────────────────────────────────────────────────┘

See Also