yambar-modules-pulse - Man Page

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)

Info

2022-12-17