Reference

yambar-modules-pulse(5)

Monitors a PulseAudio source and/or sink

NAME

pulse - Monitors a PulseAudio source and/or sink

TAGS

NameTypeDescription
onlineboolTrue when connected to the PulseAudio server
sink_onlineboolTrue when the sink is present
source_onlineboolTrue when the source is present
sink_percentrangeSink volume level, as a percentage
source_percentrangeSource volume level, as a percentage
sink_mutedboolTrue if the sink is muted, otherwise false
source_mutedboolTrue if the source is muted, otherwise false
sink_portstringDescription of the active sink port
source_portstringDescription of the active source port

CONFIGURATION

NameTypeReqDescription
sinkstringnoName of sink to monitor (default: @DEFAULT_SINK@).
sourcestringnoName of source to monitor (default: @DEFAULT_SOURCE@).

EXAMPLES

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

SEE ALSO

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

History