From 7703fe0007f15801faee07048e21b3d7f4b6716a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 15 Dec 2011 13:13:19 +0100 Subject: Rename config.ini to just config --- data/Makefile.am | 2 ++ data/config | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/config (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..83b78bc --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,2 @@ +pa_sink_ctl_xdgdir = $(sysconfdir)/xdg/pa-sink-ctl +dist_pa_sink_ctl_xdg_DATA = config diff --git a/data/config b/data/config new file mode 100644 index 0000000..cd658f1 --- /dev/null +++ b/data/config @@ -0,0 +1,44 @@ +[pa-sink-ctl] + +## List of properties to try to use as sink names, or sink name itself if empty. +name-properties = device.description; device.product.name + +[input] +## Key starting with a 0 and length > 1 are encoded in octal or hexadecimal, +## depending on second character being an 'x'. +## See ncurses.h for other presudo-character tokens +up = 0403:k;w +down = 0402;j;s +volume-down = 0404;h;a +volume-up = 0405;l;d +mute = m;x;M; +# switch sink input using return, tab or space +switch = 0xa;0x9; ; +# quit on q or escape +quit = q;033 + +## Priority groups can be used to set the display +## order for sinks. Priority groups start with "priority". +## "match": a pulseaudio property to match against (use pacmd list-sinks) +## "value": the string to compare with +## "priority": ..to assign to matched sink (default 0) +## Note: Order matters, first matched priority is applied! + +#[priority 0] +#match=device.product.name +#value=SBx00 Azalia (Intel HDA) +#priority=2 +# +#[priority 1] +#match=device.product.name +#value=USB Headset +#priority=1 + +[priority headset] +match=device.form_factor +value=headset +priority=-1 +[priority filter] +match=device.class +value=filter +priority=-2 -- cgit