pamix.1 3.79 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
./" this is the manpage of the pamix pulseaudio ncurses mixer
.TH pamix 1 "05 Sep 2016" "V1.4" "pamix man page"

.SH SYONPSIS
pamix

.SH DESCRIPTION
This is a pavucontrol inspired ncurses based pulseaudio mixer for the commandline

.SH CONFIGURATION
pamix is configured using a file called pamix.conf inside the $XDG_CONFIG_HOME or $XDG_CONFIG_DIRS directories or their default values, should they not be set.
.br
$XDG_CONFIG_HOME will be preferred over $XDG_CONFIG_DIRS.
.br
.start
.SH COMMANDS
.PP
PAmix conf files support the following commands:
.br
* set
* bind
* unbind
* unbindall

.PP
characters after a ';' will be interpreted as comments and ignored

.SH set
.PP
\fBSYNOPSIS:\fP set KEY=VALUE

.PP
set is used to set a variable. This is currently only relevant for the 'pulseaudio\_autospawn' and 'default\_tab' options.

.SH bind
.PP
\fBSYNOPSIS:\fP bind KEYNAME MIXER\-COMMAND [ARGUMENT]

.PP
bind is used to bind a keyname to a mixer\-command.
.br
Some mixer\-commands require an argument.
.br
You can bind a keyname to multiple mixer\-commands.

.SH unbind
.PP
\fBSYNOPSIS:\fP unbind KEYNAME

.PP
unbind will remove all bindings for the given keyname

.SH unbindall
.PP
\fBSYNOPSIS:\fP unbindall

.PP
unbindall will remove all key bindings


.SH PAMIX\-COMMANDS
.PP
Pamix\-Commands can be bound to keys using the bind command and are used to interact with pamix.
.br
The following pamix\-commands are currently supported:
* quit
* select\-tab
* select\-next
* select\-prev
* set\-volume
* add\-volume
* cycle\-next
* cycle\-prev
* toggle\-lock
* set\-lock
* toggle\-mute
* set\-mute

.SH quit
.PP
quit will cause PAmix to exit and takes no arguments.

.SH select\-tab
.PP
select\-tab will select one of the following tabs: Output Devices, Input Devices, Playback, Recording, Cards
.br
select\-tab takes the number of the tab to switch to starting at 0 in the order mentioned.

.SH select\-next and select\-prev
.PP
these commands are given the optional argument 'channel' they will select the next and previous channels.
if no argument is given they will select the next and previous entry in the displayed tab.

.SH set\-volume
.PP
this command takes the targetvalue in form of a double as an argument.
.br
depending on weather channels are locked, this command will set the volume of the selected entry/channel to the targetvalue given in the argument.
.br
\fIExample:\fP bind 0 set\-volume 1.0 \fI; this will set the volume to 100%\fP

.SH add\-volume
.PP
this command takes a deltavalue in form of a double as an argument.
.br
the deltavalue can be negative
\fIExample:\fP bind h add\-volume \-0.05 \fI; this will reduce the volume by 5%\fP

.SH cycle\-next and cycle\-prev
.PP
these commands will change the device or port of the currently selected entry.
.br
they dont take any arguments.

.SH toggle\-lock
.PP
this command toggles weather channels should be locked together for the currently selected entry
.br
and takes no arguments.

.SH set\-lock
.PP
this command takes either '0' or '1' as an argument and sets the channel\-lock like the toggle\-lock mixer\-command.

.SH toggle\-mute
.PP
toggles weather the currently selected entry is muted
.br
and takes no arguments.

.SH set\-mute
.PP
works like the set\-lock mixer\-command, but sets weather the currently selected entry is muted or not
.stop

.SH DEFAULT CONFIGURATION
pamix does not autospawn pulseaudio by default

Keybindings:
.br
F1      show Playback tab
.br
F2      show Recording tab
.br
F3      show Output devices tab
.br
F4      show Input devices tab
.br
F4      show Cards tab
.br
0-9     set volume to percentage (10%-100%)
.br
j/down  select next channel
.br
J       select next entry
.br
k/up    select previous channel
.br
K       select previous entry
.br
h/left  decrease volume
.br
h/right increase volume
.br
c       un/lock channels
.br
s/S     select next/previous device/port