mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
zsh-completion: Add --monitor-stream completion to pacat
This commit is contained in:
parent
073051f983
commit
6e4335cc71
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ _devices() {
|
||||||
cmd=('sinks' 'sources')
|
cmd=('sinks' 'sources')
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
--monitor-stream=*) cmd=('sink-inputs');;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $words[$((CURRENT - 1))] in
|
case $words[$((CURRENT - 1))] in
|
||||||
|
|
@ -468,6 +469,7 @@ _pacat_completion() {
|
||||||
{-p,--playback}'[create a connection for playback]' \
|
{-p,--playback}'[create a connection for playback]' \
|
||||||
{-s,--server=}'[name of server to connect to]:host:_hosts' \
|
{-s,--server=}'[name of server to connect to]:host:_hosts' \
|
||||||
{-d,--device=}'[name of sink/source to connect to]:device:_devices' \
|
{-d,--device=}'[name of sink/source to connect to]:device:_devices' \
|
||||||
|
'--monitor-stream=[index of the sink input to record from]:device:_devices' \
|
||||||
{-n,--client-name=}'[client name to use]:name' \
|
{-n,--client-name=}'[client name to use]:name' \
|
||||||
'--stream-name=[how to call this stream]:name' \
|
'--stream-name=[how to call this stream]:name' \
|
||||||
'--volume=[initial volume to use]:volume' \
|
'--volume=[initial volume to use]:volume' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue