diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-15 13:13:19 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-15 13:20:17 +0100 |
commit | 7703fe0007f15801faee07048e21b3d7f4b6716a (patch) | |
tree | 6f6b3421acb38e343623d3def0685f8478d7b878 /data | |
parent | e723c1697c0ec3c0eecbf3797d6c16c69b3cf4ef (diff) | |
download | pa-sink-ctl-7703fe0007f15801faee07048e21b3d7f4b6716a.tar.gz pa-sink-ctl-7703fe0007f15801faee07048e21b3d7f4b6716a.tar.bz2 pa-sink-ctl-7703fe0007f15801faee07048e21b3d7f4b6716a.zip |
Rename config.ini to just config
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 2 | ||||
-rw-r--r-- | data/config | 44 |
2 files changed, 46 insertions, 0 deletions
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 |