1c72fcc34Sopenharmony_ci### alsamixer configuration file
2c72fcc34Sopenharmony_ci#
3c72fcc34Sopenharmony_ci# location: ~/alsamixer.rc  or  ~/.config/alsamixer.rc  or  ~/.alsamixer.rc
4c72fcc34Sopenharmony_ci
5c72fcc34Sopenharmony_ci
6c72fcc34Sopenharmony_ci### color configuration
7c72fcc34Sopenharmony_ci# color <element> <fg-color> <bg-color> [<attr> ...]
8c72fcc34Sopenharmony_ci#
9c72fcc34Sopenharmony_ci# color:
10c72fcc34Sopenharmony_ci#   default, black, red, green, yellow, blue, magenta, cyan, white
11c72fcc34Sopenharmony_ci#
12c72fcc34Sopenharmony_ci# attr:
13c72fcc34Sopenharmony_ci#   bold, reverse, standout, dim, underline, italic, normal, blink
14c72fcc34Sopenharmony_ci#
15c72fcc34Sopenharmony_ci# element:
16c72fcc34Sopenharmony_ci#   mixer_frame, mixer_text, mixer_active, ctl_frame, ctl_mute, ctl_nomute,
17c72fcc34Sopenharmony_ci#   ctl_capture, ctl_nocapture, ctl_label, ctl_label_focus, ctl_mark_focus,
18c72fcc34Sopenharmony_ci#   ctl_bar_lo, ctl_bar_mi, ctl_bar_hi, ctl_inactive, ctl_label_inactive,
19c72fcc34Sopenharmony_ci#   errormsg, infomsg, textbox, textfield, menu, menu_selected
20c72fcc34Sopenharmony_ci
21c72fcc34Sopenharmony_ci#color mixer_frame               cyan    default
22c72fcc34Sopenharmony_ci#color mixer_text                cyan    default
23c72fcc34Sopenharmony_ci#color mixer_active              yellow  default bold
24c72fcc34Sopenharmony_ci#color ctl_frame                 cyan    default bold
25c72fcc34Sopenharmony_ci#color ctl_mute                  cyan    default
26c72fcc34Sopenharmony_ci#color ctl_nomute                white   green   bold
27c72fcc34Sopenharmony_ci#color ctl_capture               red     default bold
28c72fcc34Sopenharmony_ci#color ctl_nocapture             white   default
29c72fcc34Sopenharmony_ci#color ctl_label                 white   blue    bold
30c72fcc34Sopenharmony_ci#color ctl_label_focus           red     blue    bold
31c72fcc34Sopenharmony_ci#color ctl_mark_focus            red     default bold
32c72fcc34Sopenharmony_ci#color ctl_bar_lo                green   green   bold
33c72fcc34Sopenharmony_ci#color ctl_bar_mi                white   white   bold
34c72fcc34Sopenharmony_ci#color ctl_bar_hi                red     red     bold
35c72fcc34Sopenharmony_ci#color ctl_inactive              white   default
36c72fcc34Sopenharmony_ci#color ctl_label_inactive        white   default reverse
37c72fcc34Sopenharmony_ci#color errormsg                  white   red     bold
38c72fcc34Sopenharmony_ci#color infomsg                   white   blue    bold
39c72fcc34Sopenharmony_ci#color textbox                   white   blue    bold
40c72fcc34Sopenharmony_ci#color textfield                 white   default reverse
41c72fcc34Sopenharmony_ci#color menu                      white   blue    bold
42c72fcc34Sopenharmony_ci#color menu_selected             white   blue    reverse
43c72fcc34Sopenharmony_ci
44c72fcc34Sopenharmony_ci
45c72fcc34Sopenharmony_ci### key bindings
46c72fcc34Sopenharmony_ci# bind <key> [mixer] <mixer-cmd>
47c72fcc34Sopenharmony_ci# bind <key> textbox <textbox-cmd>
48c72fcc34Sopenharmony_ci#
49c72fcc34Sopenharmony_ci# mixer-cmd:
50c72fcc34Sopenharmony_ci#   help, close, refresh, select_card, system_information, mode_all,
51c72fcc34Sopenharmony_ci#   mode_capture, mode_playback, mode_toggle, balance_control, next[_<N>],
52c72fcc34Sopenharmony_ci#   previous[_<N>], control_focus_<[_left|_right]N>,
53c72fcc34Sopenharmony_ci#   control_up[_<N>][_left|_right], control_down[_<N>][_left|_right],
54c72fcc34Sopenharmony_ci#   control_set_<N>[_left|_right], toggle_mute[_left|_right],
55c72fcc34Sopenharmony_ci#   toggle_capture[_left|_right]
56c72fcc34Sopenharmony_ci#
57c72fcc34Sopenharmony_ci# textbox-cmd:
58c72fcc34Sopenharmony_ci#   close, down, up, left, right, page_down, page_up, page_left, page_right,
59c72fcc34Sopenharmony_ci#   top, bottom
60c72fcc34Sopenharmony_ci#
61c72fcc34Sopenharmony_ci# key: a key definition may be:
62c72fcc34Sopenharmony_ci#   - a single character (A, a, Z, z, ...)
63c72fcc34Sopenharmony_ci#   - a character with control-modifier (^x, C-x, c-x, ...)
64c72fcc34Sopenharmony_ci#   - a character with meta/alt-modifier (M-x, m-x, A-x, a-x, ...)
65c72fcc34Sopenharmony_ci#   - a character with both modifiers (C-M-x, M-C-x, M-^x, ...)
66c72fcc34Sopenharmony_ci#   - a curses keyname, no modifiers allowed (KEY_HOME, Home, F1, F(1), ...)
67c72fcc34Sopenharmony_ci
68c72fcc34Sopenharmony_ci#bind Escape    mixer close
69c72fcc34Sopenharmony_ci#bind Cancel    mixer close
70c72fcc34Sopenharmony_ci#bind F10       mixer close
71c72fcc34Sopenharmony_ci#bind F1        mixer help
72c72fcc34Sopenharmony_ci#bind Help      mixer help
73c72fcc34Sopenharmony_ci#bind H         mixer help
74c72fcc34Sopenharmony_ci#bind h         mixer help
75c72fcc34Sopenharmony_ci#bind ?         mixer help
76c72fcc34Sopenharmony_ci#bind F2        mixer system_information
77c72fcc34Sopenharmony_ci#bind /         mixer system_information
78c72fcc34Sopenharmony_ci#bind F3        mixer mode_playback
79c72fcc34Sopenharmony_ci#bind F4        mixer mode_capture
80c72fcc34Sopenharmony_ci#bind F5        mixer mode_all
81c72fcc34Sopenharmony_ci#bind Tab       mixer mode_toggle
82c72fcc34Sopenharmony_ci#bind F6        mixer select_card
83c72fcc34Sopenharmony_ci#bind S         mixer select_card
84c72fcc34Sopenharmony_ci#bind s         mixer select_card
85c72fcc34Sopenharmony_ci#bind Refresh   mixer refresh
86c72fcc34Sopenharmony_ci#bind ^L        mixer refresh
87c72fcc34Sopenharmony_ci#bind L         mixer refresh
88c72fcc34Sopenharmony_ci#bind l         mixer refresh
89c72fcc34Sopenharmony_ci#bind Left      mixer previous
90c72fcc34Sopenharmony_ci#bind P         mixer previous
91c72fcc34Sopenharmony_ci#bind p         mixer previous
92c72fcc34Sopenharmony_ci#bind Right     mixer next
93c72fcc34Sopenharmony_ci#bind N         mixer next
94c72fcc34Sopenharmony_ci#bind n         mixer next
95c72fcc34Sopenharmony_ci#bind PPage     mixer control_up_5
96c72fcc34Sopenharmony_ci#bind NPage     mixer control_down_5
97c72fcc34Sopenharmony_ci#bind LL        mixer control_set_0
98c72fcc34Sopenharmony_ci#bind END       mixer control_set_0
99c72fcc34Sopenharmony_ci#bind 0         mixer control_set_0
100c72fcc34Sopenharmony_ci#bind 1         mixer control_set_10
101c72fcc34Sopenharmony_ci#bind 2         mixer control_set_20
102c72fcc34Sopenharmony_ci#bind 3         mixer control_set_30
103c72fcc34Sopenharmony_ci#bind 4         mixer control_set_40
104c72fcc34Sopenharmony_ci#bind 5         mixer control_set_50
105c72fcc34Sopenharmony_ci#bind 6         mixer control_set_60
106c72fcc34Sopenharmony_ci#bind 7         mixer control_set_70
107c72fcc34Sopenharmony_ci#bind 8         mixer control_set_80
108c72fcc34Sopenharmony_ci#bind 9         mixer control_set_90
109c72fcc34Sopenharmony_ci#bind Up        mixer control_up
110c72fcc34Sopenharmony_ci#bind +         mixer control_up
111c72fcc34Sopenharmony_ci#bind K         mixer control_up
112c72fcc34Sopenharmony_ci#bind k         mixer control_up
113c72fcc34Sopenharmony_ci#bind W         mixer control_up
114c72fcc34Sopenharmony_ci#bind w         mixer control_up
115c72fcc34Sopenharmony_ci#bind Down      mixer control_down
116c72fcc34Sopenharmony_ci#bind -         mixer control_down
117c72fcc34Sopenharmony_ci#bind J         mixer control_down
118c72fcc34Sopenharmony_ci#bind j         mixer control_down
119c72fcc34Sopenharmony_ci#bind X         mixer control_down
120c72fcc34Sopenharmony_ci#bind x         mixer control_down
121c72fcc34Sopenharmony_ci#bind Q         mixer control_up_left
122c72fcc34Sopenharmony_ci#bind q         mixer control_up_left
123c72fcc34Sopenharmony_ci#bind Y         mixer control_down_left
124c72fcc34Sopenharmony_ci#bind y         mixer control_down_left
125c72fcc34Sopenharmony_ci#bind Z         mixer control_down_left
126c72fcc34Sopenharmony_ci#bind z         mixer control_down_left
127c72fcc34Sopenharmony_ci#bind E         mixer control_up_right
128c72fcc34Sopenharmony_ci#bind e         mixer control_up_right
129c72fcc34Sopenharmony_ci#bind C         mixer control_down_right
130c72fcc34Sopenharmony_ci#bind c         mixer control_down_right
131c72fcc34Sopenharmony_ci#bind M         mixer toggle_mute
132c72fcc34Sopenharmony_ci#bind m         mixer toggle_mute
133c72fcc34Sopenharmony_ci#bind <         mixer toggle_mute_left
134c72fcc34Sopenharmony_ci#bind ,         mixer toggle_mute_left
135c72fcc34Sopenharmony_ci#bind >         mixer toggle_mute_right
136c72fcc34Sopenharmony_ci#bind .         mixer toggle_mute_right
137c72fcc34Sopenharmony_ci#bind Space     mixer toggle_capture
138c72fcc34Sopenharmony_ci#bind IC        mixer toggle_capture_left
139c72fcc34Sopenharmony_ci#bind ;         mixer toggle_capture_left
140c72fcc34Sopenharmony_ci#bind DC        mixer toggle_capture_right
141c72fcc34Sopenharmony_ci#bind '         mixer toggle_capture_right
142c72fcc34Sopenharmony_ci#bind B         mixer balance_control
143c72fcc34Sopenharmony_ci#bind b         mixer balance_control
144c72fcc34Sopenharmony_ci#bind =         mixer balance_control
145c72fcc34Sopenharmony_ci
146c72fcc34Sopenharmony_ci#bind Escape    textbox close
147c72fcc34Sopenharmony_ci#bind Cancel    textbox close
148c72fcc34Sopenharmony_ci#bind Enter     textbox close
149c72fcc34Sopenharmony_ci#bind Close     textbox close
150c72fcc34Sopenharmony_ci#bind Exit      textbox close
151c72fcc34Sopenharmony_ci#bind Down      textbox down
152c72fcc34Sopenharmony_ci#bind SF        textbox down
153c72fcc34Sopenharmony_ci#bind J         textbox down
154c72fcc34Sopenharmony_ci#bind j         textbox down
155c72fcc34Sopenharmony_ci#bind X         textbox down
156c72fcc34Sopenharmony_ci#bind x         textbox down
157c72fcc34Sopenharmony_ci#bind Up        textbox up
158c72fcc34Sopenharmony_ci#bind SR        textbox up
159c72fcc34Sopenharmony_ci#bind K         textbox up
160c72fcc34Sopenharmony_ci#bind k         textbox up
161c72fcc34Sopenharmony_ci#bind W         textbox up
162c72fcc34Sopenharmony_ci#bind w         textbox up
163c72fcc34Sopenharmony_ci#bind Left      textbox left
164c72fcc34Sopenharmony_ci#bind H         textbox left
165c72fcc34Sopenharmony_ci#bind h         textbox left
166c72fcc34Sopenharmony_ci#bind P         textbox left
167c72fcc34Sopenharmony_ci#bind p         textbox left
168c72fcc34Sopenharmony_ci#bind Right     textbox right
169c72fcc34Sopenharmony_ci#bind L         textbox right
170c72fcc34Sopenharmony_ci#bind l         textbox right
171c72fcc34Sopenharmony_ci#bind N         textbox right
172c72fcc34Sopenharmony_ci#bind n         textbox right
173c72fcc34Sopenharmony_ci#bind NPage     textbox page_down
174c72fcc34Sopenharmony_ci#bind SPace     textbox page_down
175c72fcc34Sopenharmony_ci#bind PPage     textbox page_up
176c72fcc34Sopenharmony_ci#bind Backspace textbox page_up
177c72fcc34Sopenharmony_ci#bind B         textbox page_up
178c72fcc34Sopenharmony_ci#bind b         textbox page_up
179c72fcc34Sopenharmony_ci#bind Home      textbox top
180c72fcc34Sopenharmony_ci#bind Beg       textbox top
181c72fcc34Sopenharmony_ci#bind LL        textbox bottom
182c72fcc34Sopenharmony_ci#bind End       textbox bottom
183c72fcc34Sopenharmony_ci#bind Tab       textbox page_right
184c72fcc34Sopenharmony_ci#bind BTab      textbox page_left
185c72fcc34Sopenharmony_ci
186c72fcc34Sopenharmony_ci
187c72fcc34Sopenharmony_ci### misc configuration
188c72fcc34Sopenharmony_ci# set mouse_wheel_step [0..100]
189c72fcc34Sopenharmony_ci# set mouse_wheel_focuses_control [0|1]
190c72fcc34Sopenharmony_ci
191c72fcc34Sopenharmony_ci#set mouse_wheel_step            1
192c72fcc34Sopenharmony_ci#set mouse_wheel_focuses_control 1
193