From 8d2ef5f99b2ebc08a0a9d1f26492094692b1fc6b Mon Sep 17 00:00:00 2001 From: Watcom Date: Wed, 14 Sep 2016 04:26:45 -0300 Subject: pulse device may be specified by name (#126) (#162) --- man/i3status.man | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/i3status.man b/man/i3status.man index cdde2aa..cb1c248 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -487,10 +487,16 @@ or device = "pulse:N" -where N is the index of the PulseAudio sink. If no sink is specified the -default is used. If the device string is missing or is set to "default", -PulseAudio will be tried if detected and will fallback to ALSA (Linux) -or OSS (FreeBSD/OpenBSD). +where N is the index or name of the PulseAudio sink. You can obtain the name of +the sink with the following command: + + $ pacmd list-sinks | grep name: + name: + +The name is what's inside the angle brackets, not including them. If no sink is +specified the default sink is used. If the device string is missing or is set +to "default", PulseAudio will be tried if detected and will fallback to ALSA +(Linux) or OSS (FreeBSD/OpenBSD). *Example order*: +volume master+ @@ -516,6 +522,13 @@ volume master { device = "pulse:1" } ------------------------------------------------------------- +------------------------------------------------------------- +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + device = "pulse:alsa_output.pci-0000_00_14.2.analog-stereo" +} +------------------------------------------------------------- == Universal module options -- cgit v1.2.3