summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWatcom <watcom.hecht@gmail.com>2016-09-14 04:26:45 -0300
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-09-14 09:26:45 +0200
commit8d2ef5f99b2ebc08a0a9d1f26492094692b1fc6b (patch)
treef264785b909bf2b1b9dc9c53f03dcd8126786920 /man
parent48e10658b46e07b89ee7074af1a56bdc61656f05 (diff)
pulse device may be specified by name (#126) (#162)
Diffstat (limited to 'man')
-rw-r--r--man/i3status.man21
1 files changed, 17 insertions, 4 deletions
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: <alsa_output.pci-0000_00_14.2.analog-stereo>
+
+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