diff options
author | Yigit Sever | 2019-03-17 23:09:49 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-17 23:18:28 +0300 |
commit | ea211500227aa58f5e495777743c5d391cbc3110 (patch) | |
tree | afa2b455f9fea40b45dbf8a742c0d0d498024edb /.ncmpcpp | |
download | dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.gz dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.bz2 dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.zip |
Initial commit
Diffstat (limited to '.ncmpcpp')
-rw-r--r-- | .ncmpcpp/bindings | 543 | ||||
-rw-r--r-- | .ncmpcpp/config | 543 |
2 files changed, 1086 insertions, 0 deletions
diff --git a/.ncmpcpp/bindings b/.ncmpcpp/bindings new file mode 100644 index 0000000..ab21cbf --- /dev/null +++ b/.ncmpcpp/bindings | |||
@@ -0,0 +1,543 @@ | |||
1 | ############################################################## | ||
2 | ## This is the example bindings file. Copy it to ## | ||
3 | ## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ## | ||
4 | ## and set up your preferences ## | ||
5 | ############################################################## | ||
6 | ## | ||
7 | ##### General rules ##### | ||
8 | ## | ||
9 | ## 1) Because each action has runtime checks whether it's | ||
10 | ## ok to run it, a few actions can be bound to one key. | ||
11 | ## Actions will be bound in order given in configuration | ||
12 | ## file. When a key is pressed, first action in order | ||
13 | ## will test itself whether it's possible to run it. If | ||
14 | ## test succeeds, action is executed and other actions | ||
15 | ## bound to this key are ignored. If it doesn't, next | ||
16 | ## action in order tests itself etc. | ||
17 | ## | ||
18 | ## 2) It's possible to bind more that one action at once | ||
19 | ## to a key. It can be done using the following syntax: | ||
20 | ## | ||
21 | ## def_key "key" | ||
22 | ## action1 | ||
23 | ## action2 | ||
24 | ## ... | ||
25 | ## | ||
26 | ## This creates a chain of actions. When such chain is | ||
27 | ## executed, each action in chain is run until the end of | ||
28 | ## chain is reached or one of its actions fails to execute | ||
29 | ## due to its requirements not being met. If multiple actions | ||
30 | ## and/or chains are bound to the same key, they will be | ||
31 | ## consecutively run until one of them gets fully executed. | ||
32 | ## | ||
33 | ## 3) When ncmpcpp starts, bindings configuration file is | ||
34 | ## parsed and then ncmpcpp provides "missing pieces" | ||
35 | ## of default keybindings. If you want to disable some | ||
36 | ## bindings, there is a special action called 'dummy' | ||
37 | ## for that purpose. Eg. if you want to disable ability | ||
38 | ## to crop playlists, you need to put the following | ||
39 | ## into configuration file: | ||
40 | ## | ||
41 | ## def_key "C" | ||
42 | ## dummy | ||
43 | ## | ||
44 | ## After that ncmpcpp will not bind any default action | ||
45 | ## to this key. | ||
46 | ## | ||
47 | ## 4) To let you write simple macros, the following special | ||
48 | ## actions are provided: | ||
49 | ## | ||
50 | ## - push_character "character" - pushes given special | ||
51 | ## character into input queue, so it will be immediately | ||
52 | ## picked by ncmpcpp upon next call to readKey function. | ||
53 | ## Accepted values: mouse, up, down, page_up, page_down, | ||
54 | ## home, end, space, enter, insert, delete, left, right, | ||
55 | ## tab, ctrl-a, ctrl-b, ..., ctrl-z, ctrl-[, ctrl-\\, | ||
56 | ## ctrl-], ctrl-^, ctrl-_, f1, f2, ..., f12, backspace. | ||
57 | ## In addition, most of these names can be prefixed with | ||
58 | ## alt-/ctrl-/shift- to be recognized with the appropriate | ||
59 | ## modifier key(s). | ||
60 | ## | ||
61 | ## - push_characters "string" - pushes given string into | ||
62 | ## input queue. | ||
63 | ## | ||
64 | ## - require_runnable "action" - checks whether given action | ||
65 | ## is runnable and fails if it isn't. This is especially | ||
66 | ## useful when mixed with previous two functions. Consider | ||
67 | ## the following macro definition: | ||
68 | ## | ||
69 | ## def_key "key" | ||
70 | ## push_characters "custom_filter" | ||
71 | ## apply_filter | ||
72 | ## | ||
73 | ## If apply_filter can't be currently run, we end up with | ||
74 | ## sequence of characters in input queue which will be | ||
75 | ## treated just as we typed them. This may lead to unexpected | ||
76 | ## results (in this case 'c' will most likely clear current | ||
77 | ## playlist, 'u' will trigger database update, 's' will stop | ||
78 | ## playback etc.). To prevent such thing from happening, we | ||
79 | ## need to change above definition to this one: | ||
80 | ## | ||
81 | ## def_key "key" | ||
82 | ## require_runnable "apply_filter" | ||
83 | ## push_characters "custom_filter" | ||
84 | ## apply_filter | ||
85 | ## | ||
86 | ## Here, first we test whether apply_filter can be actually run | ||
87 | ## before we stuff characters into input queue, so if condition | ||
88 | ## is not met, whole chain is aborted and we're fine. | ||
89 | ## | ||
90 | ## - require_screen "screen" - checks whether given screen is | ||
91 | ## currently active. accepted values: browser, clock, help, | ||
92 | ## media_library, outputs, playlist, playlist_editor, | ||
93 | ## search_engine, tag_editor, visualizer, last_fm, lyrics, | ||
94 | ## selected_items_adder, server_info, song_info, | ||
95 | ## sort_playlist_dialog, tiny_tag_editor. | ||
96 | ## | ||
97 | ## - run_external_command "command" - runs given command using | ||
98 | ## system() function. | ||
99 | ## | ||
100 | ## 5) In addition to binding to a key, you can also bind actions | ||
101 | ## or chains of actions to a command. If it comes to commands, | ||
102 | ## syntax is very similar to defining keys. Here goes example | ||
103 | ## definition of a command: | ||
104 | ## | ||
105 | ## def_command "quit" [deferred] | ||
106 | ## stop | ||
107 | ## quit | ||
108 | ## | ||
109 | ## If you execute the above command (which can be done by | ||
110 | ## invoking action execute_command, typing 'quit' and pressing | ||
111 | ## enter), ncmpcpp will stop the player and then quit. Note the | ||
112 | ## presence of word 'deferred' enclosed in square brackets. It | ||
113 | ## tells ncmpcpp to wait for confirmation (ie. pressing enter) | ||
114 | ## after you typed quit. Instead of 'deferred', 'immediate' | ||
115 | ## could be used. Then ncmpcpp will not wait for confirmation | ||
116 | ## (enter) and will execute the command the moment it sees it. | ||
117 | ## | ||
118 | ## Note: while command chains are executed, internal environment | ||
119 | ## update (which includes current window refresh and mpd status | ||
120 | ## update) is not performed for performance reasons. However, it | ||
121 | ## may be desirable to do so in some situration. Therefore it's | ||
122 | ## possible to invoke by hand by performing 'update enviroment' | ||
123 | ## action. | ||
124 | ## | ||
125 | ## Note: There is a difference between: | ||
126 | ## | ||
127 | ## def_key "key" | ||
128 | ## action1 | ||
129 | ## | ||
130 | ## def_key "key" | ||
131 | ## action2 | ||
132 | ## | ||
133 | ## and | ||
134 | ## | ||
135 | ## def_key "key" | ||
136 | ## action1 | ||
137 | ## action2 | ||
138 | ## | ||
139 | ## First one binds two single actions to the same key whilst | ||
140 | ## second one defines a chain of actions. The behavior of | ||
141 | ## these two is different and is described in (1) and (2). | ||
142 | ## | ||
143 | ## Note: Function def_key accepts non-ascii characters. | ||
144 | ## | ||
145 | ##### List of unbound actions ##### | ||
146 | ## | ||
147 | ## The following actions are not bound to any key/command: | ||
148 | ## | ||
149 | ## - set_volume | ||
150 | ## | ||
151 | # | ||
152 | #def_key "mouse" | ||
153 | # mouse_event | ||
154 | # | ||
155 | #def_key "up" | ||
156 | # scroll_up | ||
157 | # | ||
158 | #def_key "shift-up" | ||
159 | # select_item | ||
160 | # scroll_up | ||
161 | # | ||
162 | #def_key "down" | ||
163 | # scroll_down | ||
164 | # | ||
165 | #def_key "shift-down" | ||
166 | # select_item | ||
167 | # scroll_down | ||
168 | # | ||
169 | #def_key "[" | ||
170 | # scroll_up_album | ||
171 | # | ||
172 | #def_key "]" | ||
173 | # scroll_down_album | ||
174 | # | ||
175 | #def_key "{" | ||
176 | # scroll_up_artist | ||
177 | # | ||
178 | #def_key "}" | ||
179 | # scroll_down_artist | ||
180 | # | ||
181 | #def_key "page_up" | ||
182 | # page_up | ||
183 | # | ||
184 | #def_key "page_down" | ||
185 | # page_down | ||
186 | # | ||
187 | #def_key "home" | ||
188 | # move_home | ||
189 | # | ||
190 | #def_key "end" | ||
191 | # move_end | ||
192 | # | ||
193 | #def_key "insert" | ||
194 | # select_item | ||
195 | # | ||
196 | #def_key "enter" | ||
197 | # enter_directory | ||
198 | # | ||
199 | #def_key "enter" | ||
200 | # toggle_output | ||
201 | # | ||
202 | #def_key "enter" | ||
203 | # run_action | ||
204 | # | ||
205 | #def_key "enter" | ||
206 | # play_item | ||
207 | # | ||
208 | #def_key "space" | ||
209 | # add_item_to_playlist | ||
210 | # | ||
211 | #def_key "space" | ||
212 | # toggle_lyrics_update_on_song_change | ||
213 | # | ||
214 | #def_key "space" | ||
215 | # toggle_visualization_type | ||
216 | # | ||
217 | #def_key "delete" | ||
218 | # delete_playlist_items | ||
219 | # | ||
220 | #def_key "delete" | ||
221 | # delete_browser_items | ||
222 | # | ||
223 | #def_key "delete" | ||
224 | # delete_stored_playlist | ||
225 | # | ||
226 | #def_key "right" | ||
227 | # next_column | ||
228 | # | ||
229 | #def_key "right" | ||
230 | # slave_screen | ||
231 | # | ||
232 | #def_key "right" | ||
233 | # volume_up | ||
234 | # | ||
235 | #def_key "+" | ||
236 | # volume_up | ||
237 | # | ||
238 | #def_key "left" | ||
239 | # previous_column | ||
240 | # | ||
241 | #def_key "left" | ||
242 | # master_screen | ||
243 | # | ||
244 | #def_key "left" | ||
245 | # volume_down | ||
246 | # | ||
247 | #def_key "-" | ||
248 | # volume_down | ||
249 | # | ||
250 | #def_key ":" | ||
251 | # execute_command | ||
252 | # | ||
253 | #def_key "tab" | ||
254 | # next_screen | ||
255 | # | ||
256 | #def_key "shift-tab" | ||
257 | # previous_screen | ||
258 | # | ||
259 | #def_key "f1" | ||
260 | # show_help | ||
261 | # | ||
262 | #def_key "1" | ||
263 | # show_playlist | ||
264 | # | ||
265 | #def_key "2" | ||
266 | # show_browser | ||
267 | # | ||
268 | #def_key "2" | ||
269 | # change_browse_mode | ||
270 | # | ||
271 | #def_key "3" | ||
272 | # show_search_engine | ||
273 | # | ||
274 | #def_key "3" | ||
275 | # reset_search_engine | ||
276 | # | ||
277 | #def_key "4" | ||
278 | # show_media_library | ||
279 | # | ||
280 | #def_key "4" | ||
281 | # toggle_media_library_columns_mode | ||
282 | # | ||
283 | #def_key "5" | ||
284 | # show_playlist_editor | ||
285 | # | ||
286 | #def_key "6" | ||
287 | # show_tag_editor | ||
288 | # | ||
289 | #def_key "7" | ||
290 | # show_outputs | ||
291 | # | ||
292 | #def_key "8" | ||
293 | # show_visualizer | ||
294 | # | ||
295 | #def_key "=" | ||
296 | # show_clock | ||
297 | # | ||
298 | #def_key "@" | ||
299 | # show_server_info | ||
300 | # | ||
301 | #def_key "s" | ||
302 | # stop | ||
303 | # | ||
304 | #def_key "p" | ||
305 | # pause | ||
306 | # | ||
307 | #def_key ">" | ||
308 | # next | ||
309 | # | ||
310 | #def_key "<" | ||
311 | # previous | ||
312 | # | ||
313 | #def_key "ctrl-h" | ||
314 | # jump_to_parent_directory | ||
315 | # | ||
316 | #def_key "ctrl-h" | ||
317 | # replay_song | ||
318 | # | ||
319 | #def_key "backspace" | ||
320 | # jump_to_parent_directory | ||
321 | # | ||
322 | #def_key "backspace" | ||
323 | # replay_song | ||
324 | # | ||
325 | #def_key "f" | ||
326 | # seek_forward | ||
327 | # | ||
328 | #def_key "b" | ||
329 | # seek_backward | ||
330 | # | ||
331 | #def_key "r" | ||
332 | # toggle_repeat | ||
333 | # | ||
334 | #def_key "z" | ||
335 | # toggle_random | ||
336 | # | ||
337 | #def_key "y" | ||
338 | # save_tag_changes | ||
339 | # | ||
340 | #def_key "y" | ||
341 | # start_searching | ||
342 | # | ||
343 | #def_key "y" | ||
344 | # toggle_single | ||
345 | # | ||
346 | #def_key "R" | ||
347 | # toggle_consume | ||
348 | # | ||
349 | #def_key "Y" | ||
350 | # toggle_replay_gain_mode | ||
351 | # | ||
352 | #def_key "T" | ||
353 | # toggle_add_mode | ||
354 | # | ||
355 | #def_key "|" | ||
356 | # toggle_mouse | ||
357 | # | ||
358 | #def_key "#" | ||
359 | # toggle_bitrate_visibility | ||
360 | # | ||
361 | #def_key "Z" | ||
362 | # shuffle | ||
363 | # | ||
364 | #def_key "x" | ||
365 | # toggle_crossfade | ||
366 | # | ||
367 | #def_key "X" | ||
368 | # set_crossfade | ||
369 | # | ||
370 | #def_key "u" | ||
371 | # update_database | ||
372 | # | ||
373 | #def_key "ctrl-s" | ||
374 | # sort_playlist | ||
375 | # | ||
376 | #def_key "ctrl-s" | ||
377 | # toggle_browser_sort_mode | ||
378 | # | ||
379 | #def_key "ctrl-s" | ||
380 | # toggle_media_library_sort_mode | ||
381 | # | ||
382 | #def_key "ctrl-r" | ||
383 | # reverse_playlist | ||
384 | # | ||
385 | #def_key "ctrl-f" | ||
386 | # apply_filter | ||
387 | # | ||
388 | #def_key "ctrl-_" | ||
389 | # select_found_items | ||
390 | # | ||
391 | #def_key "/" | ||
392 | # find | ||
393 | # | ||
394 | #def_key "/" | ||
395 | # find_item_forward | ||
396 | # | ||
397 | #def_key "?" | ||
398 | # find | ||
399 | # | ||
400 | #def_key "?" | ||
401 | # find_item_backward | ||
402 | # | ||
403 | #def_key "." | ||
404 | # next_found_item | ||
405 | # | ||
406 | #def_key "," | ||
407 | # previous_found_item | ||
408 | # | ||
409 | #def_key "w" | ||
410 | # toggle_find_mode | ||
411 | # | ||
412 | #def_key "e" | ||
413 | # edit_song | ||
414 | # | ||
415 | #def_key "e" | ||
416 | # edit_library_tag | ||
417 | # | ||
418 | #def_key "e" | ||
419 | # edit_library_album | ||
420 | # | ||
421 | #def_key "e" | ||
422 | # edit_directory_name | ||
423 | # | ||
424 | #def_key "e" | ||
425 | # edit_playlist_name | ||
426 | # | ||
427 | #def_key "e" | ||
428 | # edit_lyrics | ||
429 | # | ||
430 | #def_key "i" | ||
431 | # show_song_info | ||
432 | # | ||
433 | #def_key "I" | ||
434 | # show_artist_info | ||
435 | # | ||
436 | #def_key "g" | ||
437 | # jump_to_position_in_song | ||
438 | # | ||
439 | #def_key "l" | ||
440 | # show_lyrics | ||
441 | # | ||
442 | #def_key "ctrl-v" | ||
443 | # select_range | ||
444 | # | ||
445 | #def_key "v" | ||
446 | # reverse_selection | ||
447 | # | ||
448 | #def_key "V" | ||
449 | # remove_selection | ||
450 | # | ||
451 | #def_key "B" | ||
452 | # select_album | ||
453 | # | ||
454 | #def_key "a" | ||
455 | # add_selected_items | ||
456 | # | ||
457 | #def_key "c" | ||
458 | # clear_playlist | ||
459 | # | ||
460 | #def_key "c" | ||
461 | # clear_main_playlist | ||
462 | # | ||
463 | #def_key "C" | ||
464 | # crop_playlist | ||
465 | # | ||
466 | #def_key "C" | ||
467 | # crop_main_playlist | ||
468 | # | ||
469 | #def_key "m" | ||
470 | # move_sort_order_up | ||
471 | # | ||
472 | #def_key "m" | ||
473 | # move_selected_items_up | ||
474 | # | ||
475 | #def_key "n" | ||
476 | # move_sort_order_down | ||
477 | # | ||
478 | #def_key "n" | ||
479 | # move_selected_items_down | ||
480 | # | ||
481 | #def_key "M" | ||
482 | # move_selected_items_to | ||
483 | # | ||
484 | #def_key "A" | ||
485 | # add | ||
486 | # | ||
487 | #def_key "S" | ||
488 | # save_playlist | ||
489 | # | ||
490 | #def_key "o" | ||
491 | # jump_to_playing_song | ||
492 | # | ||
493 | #def_key "G" | ||
494 | # jump_to_browser | ||
495 | # | ||
496 | #def_key "G" | ||
497 | # jump_to_playlist_editor | ||
498 | # | ||
499 | #def_key "~" | ||
500 | # jump_to_media_library | ||
501 | # | ||
502 | #def_key "E" | ||
503 | # jump_to_tag_editor | ||
504 | # | ||
505 | #def_key "U" | ||
506 | # toggle_playing_song_centering | ||
507 | # | ||
508 | #def_key "P" | ||
509 | # toggle_display_mode | ||
510 | # | ||
511 | #def_key "\\" | ||
512 | # toggle_interface | ||
513 | # | ||
514 | #def_key "!" | ||
515 | # toggle_separators_between_albums | ||
516 | # | ||
517 | #def_key "L" | ||
518 | # toggle_lyrics_fetcher | ||
519 | # | ||
520 | #def_key "F" | ||
521 | # fetch_lyrics_in_background | ||
522 | # | ||
523 | #def_key "alt-l" | ||
524 | # toggle_fetching_lyrics_in_background | ||
525 | # | ||
526 | #def_key "ctrl-l" | ||
527 | # toggle_screen_lock | ||
528 | # | ||
529 | #def_key "`" | ||
530 | # toggle_library_tag_type | ||
531 | # | ||
532 | #def_key "`" | ||
533 | # refetch_lyrics | ||
534 | # | ||
535 | #def_key "`" | ||
536 | # add_random_items | ||
537 | # | ||
538 | #def_key "ctrl-p" | ||
539 | # set_selected_items_priority | ||
540 | # | ||
541 | #def_key "q" | ||
542 | # quit | ||
543 | # | ||
diff --git a/.ncmpcpp/config b/.ncmpcpp/config new file mode 100644 index 0000000..580e8de --- /dev/null +++ b/.ncmpcpp/config | |||
@@ -0,0 +1,543 @@ | |||
1 | ############################################################################## | ||
2 | ## This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ## | ||
3 | ## or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ## | ||
4 | ############################################################################## | ||
5 | # | ||
6 | ##### directories ###### | ||
7 | ## | ||
8 | ## Directory for storing ncmpcpp related files. Changing it is useful if you | ||
9 | ## want to store everything somewhere else and provide command line setting for | ||
10 | ## alternative location to config file which defines that while launching | ||
11 | ## ncmpcpp. | ||
12 | ## | ||
13 | # | ||
14 | #ncmpcpp_directory = ~/.ncmpcpp | ||
15 | # | ||
16 | ## | ||
17 | ## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other | ||
18 | ## MPD clients (eg. ncmpc) also use that location. | ||
19 | ## | ||
20 | # | ||
21 | #lyrics_directory = ~/.lyrics | ||
22 | # | ||
23 | ##### connection settings ##### | ||
24 | # | ||
25 | #mpd_host = localhost | ||
26 | # | ||
27 | #mpd_port = 6600 | ||
28 | # | ||
29 | #mpd_connection_timeout = 5 | ||
30 | # | ||
31 | ## Needed for tag editor and file operations to work. | ||
32 | ## | ||
33 | mpd_music_dir = ~/Music | ||
34 | # | ||
35 | #mpd_crossfade_time = 5 | ||
36 | # | ||
37 | ##### music visualizer ##### | ||
38 | ## | ||
39 | ## Note: In order to make music visualizer work you'll need to use mpd fifo | ||
40 | ## output, whose format parameter has to be set to 44100:16:1 for mono | ||
41 | ## visualization or 44100:16:2 for stereo visualization. Example configuration | ||
42 | ## (it has to be put into mpd.conf): | ||
43 | ## | ||
44 | ## audio_output { | ||
45 | ## type "fifo" | ||
46 | ## name "Visualizer feed" | ||
47 | ## path "/tmp/mpd.fifo" | ||
48 | ## format "44100:16:2" | ||
49 | ## } | ||
50 | ## | ||
51 | # | ||
52 | #visualizer_fifo_path = /tmp/mpd.fifo | ||
53 | # | ||
54 | ## | ||
55 | ## Note: Below parameter is needed for ncmpcpp to determine which output | ||
56 | ## provides data for visualizer and thus allow syncing between visualization and | ||
57 | ## sound as currently there are some problems with it. | ||
58 | ## | ||
59 | # | ||
60 | #visualizer_output_name = Visualizer feed | ||
61 | # | ||
62 | ## | ||
63 | ## If you set format to 44100:16:2, make it 'yes'. | ||
64 | ## | ||
65 | #visualizer_in_stereo = yes | ||
66 | # | ||
67 | ## | ||
68 | ## Note: Below parameter defines how often ncmpcpp has to "synchronize" | ||
69 | ## visualizer and audio outputs. 30 seconds is optimal value, but if you | ||
70 | ## experience synchronization problems, set it to lower value. Keep in mind | ||
71 | ## that sane values start with >=10. | ||
72 | ## | ||
73 | # | ||
74 | #visualizer_sync_interval = 30 | ||
75 | # | ||
76 | ## | ||
77 | ## Note: To enable spectrum frequency visualization you need to compile ncmpcpp | ||
78 | ## with fftw3 support. | ||
79 | ## | ||
80 | # | ||
81 | ## Available values: spectrum, wave, wave_filled, ellipse. | ||
82 | ## | ||
83 | #visualizer_type = wave | ||
84 | # | ||
85 | #visualizer_look = ●▮ | ||
86 | # | ||
87 | #visualizer_color = blue, cyan, green, yellow, magenta, red | ||
88 | # | ||
89 | ## Alternative subset of 256 colors for terminals that support it. | ||
90 | ## | ||
91 | #visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161 | ||
92 | # | ||
93 | ##### system encoding ##### | ||
94 | ## | ||
95 | ## ncmpcpp should detect your charset encoding but if it failed to do so, you | ||
96 | ## can specify charset encoding you are using here. | ||
97 | ## | ||
98 | ## Note: You can see whether your ncmpcpp build supports charset detection by | ||
99 | ## checking output of `ncmpcpp --version`. | ||
100 | ## | ||
101 | ## Note: Since MPD uses UTF-8 by default, setting this option makes sense only | ||
102 | ## if your encoding is different. | ||
103 | ## | ||
104 | # | ||
105 | #system_encoding = "" | ||
106 | # | ||
107 | ##### delays ##### | ||
108 | # | ||
109 | ## Time of inactivity (in seconds) after playlist highlighting will be disabled | ||
110 | ## (0 = always on). | ||
111 | ## | ||
112 | #playlist_disable_highlight_delay = 5 | ||
113 | # | ||
114 | ## Defines how long messages are supposed to be visible. | ||
115 | ## | ||
116 | #message_delay_time = 5 | ||
117 | # | ||
118 | ##### song format ##### | ||
119 | ## | ||
120 | ## For a song format you can use: | ||
121 | ## | ||
122 | ## %l - length | ||
123 | ## %f - filename | ||
124 | ## %D - directory | ||
125 | ## %a - artist | ||
126 | ## %A - album artist | ||
127 | ## %t - title | ||
128 | ## %b - album | ||
129 | ## %y - date | ||
130 | ## %n - track number (01/12 -> 01) | ||
131 | ## %N - full track info (01/12 -> 01/12) | ||
132 | ## %g - genre | ||
133 | ## %c - composer | ||
134 | ## %p - performer | ||
135 | ## %d - disc | ||
136 | ## %C - comment | ||
137 | ## %P - priority | ||
138 | ## $R - begin right alignment | ||
139 | ## | ||
140 | ## If you want to make sure that a part of the format is displayed only when | ||
141 | ## certain tags are present, you can archieve it by grouping them with brackets, | ||
142 | ## e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are | ||
143 | ## present or '' otherwise. It is also possible to define a list of | ||
144 | ## alternatives by providing several groups and separating them with '|', | ||
145 | ## e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is | ||
146 | ## not present. | ||
147 | ## | ||
148 | ## Note: If you want to set limit on maximal length of a tag, just put the | ||
149 | ## appropriate number between % and character that defines tag type, e.g. to | ||
150 | ## make album take max. 20 terminal cells, use '%20b'. | ||
151 | ## | ||
152 | ## In addition, formats support markers used for text attributes. They are | ||
153 | ## followed by character '$'. After that you can put: | ||
154 | ## | ||
155 | ## - 0 - default window color (discards all other colors) | ||
156 | ## - 1 - black | ||
157 | ## - 2 - red | ||
158 | ## - 3 - green | ||
159 | ## - 4 - yellow | ||
160 | ## - 5 - blue | ||
161 | ## - 6 - magenta | ||
162 | ## - 7 - cyan | ||
163 | ## - 8 - white | ||
164 | ## - 9 - end of current color | ||
165 | ## - b - bold text | ||
166 | ## - u - underline text | ||
167 | ## - r - reverse colors | ||
168 | ## - a - use alternative character set | ||
169 | ## | ||
170 | ## If you don't want to use a non-color attribute anymore, just put it again, | ||
171 | ## but this time insert character '/' between '$' and attribute character, | ||
172 | ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with | ||
173 | ## reversed colors. | ||
174 | ## | ||
175 | ## If you want to use 256 colors and/or background colors in formats (the naming | ||
176 | ## scheme is described below in section about color definitions), it can be done | ||
177 | ## with the syntax $(COLOR), e.g. to set the artist tag to one of the | ||
178 | ## non-standard colors and make it have yellow background, you need to write | ||
179 | ## $(197_yellow)%a$(end). Note that for standard colors this is interchangable | ||
180 | ## with attributes listed above. | ||
181 | ## | ||
182 | ## Note: colors can be nested. | ||
183 | ## | ||
184 | # | ||
185 | #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9} | ||
186 | # | ||
187 | #song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f} | ||
188 | # | ||
189 | #song_library_format = {%n - }{%t}|{%f} | ||
190 | # | ||
191 | #alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b | ||
192 | # | ||
193 | #alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D} | ||
194 | # | ||
195 | #current_item_prefix = $(yellow)$r | ||
196 | # | ||
197 | #current_item_suffix = $/r$(end) | ||
198 | # | ||
199 | #current_item_inactive_column_prefix = $(white)$r | ||
200 | # | ||
201 | #current_item_inactive_column_suffix = $/r$(end) | ||
202 | # | ||
203 | #now_playing_prefix = $b | ||
204 | # | ||
205 | #now_playing_suffix = $/b | ||
206 | # | ||
207 | #browser_playlist_prefix = "$2playlist$9 " | ||
208 | # | ||
209 | #selected_item_prefix = $6 | ||
210 | # | ||
211 | #selected_item_suffix = $9 | ||
212 | # | ||
213 | #modified_item_prefix = $3> $9 | ||
214 | # | ||
215 | ## | ||
216 | ## Note: attributes are not supported for the following variables. | ||
217 | ## | ||
218 | #song_window_title_format = {%a - }{%t}|{%f} | ||
219 | ## | ||
220 | ## Note: Below variables are used for sorting songs in browser. The sort mode | ||
221 | ## determines how songs are sorted, and can be used in combination with a sort | ||
222 | ## format to specify a custom sorting format. Available values for | ||
223 | ## browser_sort_mode are "name", "mtime", "format" and "noop". | ||
224 | ## | ||
225 | # | ||
226 | #browser_sort_mode = name | ||
227 | # | ||
228 | #browser_sort_format = {%a - }{%t}|{%f} {(%l)} | ||
229 | # | ||
230 | ##### columns settings ##### | ||
231 | ## | ||
232 | ## syntax of song columns list format is "column column etc." | ||
233 | ## | ||
234 | ## - syntax for each column is: | ||
235 | ## | ||
236 | ## (width of the column)[color of the column]{displayed tag} | ||
237 | ## | ||
238 | ## Note: Width is by default in %, if you want a column to have fixed size, add | ||
239 | ## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of | ||
240 | ## screen (so the real width will depend on actual screen size), whereas | ||
241 | ## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen | ||
242 | ## is. | ||
243 | ## | ||
244 | ## - color is optional (if you want the default one, leave the field empty). | ||
245 | ## | ||
246 | ## Note: You can give a column additional attributes by putting appropriate | ||
247 | ## character after displayed tag character. Available attributes are: | ||
248 | ## | ||
249 | ## - r - column will be right aligned | ||
250 | ## - E - if tag is empty, empty tag marker won't be displayed | ||
251 | ## | ||
252 | ## You can also: | ||
253 | ## | ||
254 | ## - give a column custom name by putting it after attributes, separated with | ||
255 | ## character ':', e.g. {lr:Length} gives you right aligned column of lengths | ||
256 | ## named "Length". | ||
257 | ## | ||
258 | ## - define sequence of tags, that have to be displayed in case predecessor is | ||
259 | ## empty in a way similar to the one in classic song format, i.e. using '|' | ||
260 | ## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to | ||
261 | ## display artist tag and then composer and performer if previous ones are not | ||
262 | ## available. | ||
263 | ## | ||
264 | # | ||
265 | #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l} | ||
266 | # | ||
267 | ##### various settings ##### | ||
268 | # | ||
269 | ## | ||
270 | ## Note: Custom command that will be executed each time song changes. Useful for | ||
271 | ## notifications etc. | ||
272 | ## | ||
273 | execute_on_song_change = notify-send "now listening" "$(mpc current)" --app-name="ncmpcpp" --icon="folder-music" | ||
274 | # | ||
275 | ## | ||
276 | ## Note: Custom command that will be executed each time player state | ||
277 | ## changes. The environment variable MPD_PLAYER_STATE is set to the current | ||
278 | ## state (either unknown, play, pause, or stop) for its duration. | ||
279 | ## | ||
280 | # | ||
281 | #execute_on_player_state_change = "" | ||
282 | # | ||
283 | #playlist_show_mpd_host = no | ||
284 | # | ||
285 | #playlist_show_remaining_time = no | ||
286 | # | ||
287 | #playlist_shorten_total_times = no | ||
288 | # | ||
289 | #playlist_separate_albums = no | ||
290 | # | ||
291 | ## | ||
292 | ## Note: Possible display modes: classic, columns. | ||
293 | ## | ||
294 | #playlist_display_mode = columns | ||
295 | # | ||
296 | #browser_display_mode = classic | ||
297 | # | ||
298 | #search_engine_display_mode = classic | ||
299 | # | ||
300 | #playlist_editor_display_mode = classic | ||
301 | # | ||
302 | #discard_colors_if_item_is_selected = yes | ||
303 | # | ||
304 | #show_duplicate_tags = yes | ||
305 | # | ||
306 | #incremental_seeking = yes | ||
307 | # | ||
308 | #seek_time = 1 | ||
309 | # | ||
310 | #volume_change_step = 2 | ||
311 | # | ||
312 | #autocenter_mode = no | ||
313 | # | ||
314 | #centered_cursor = no | ||
315 | # | ||
316 | ## | ||
317 | ## Note: You can specify third character which will be used to build 'empty' | ||
318 | ## part of progressbar. | ||
319 | ## | ||
320 | #progressbar_look = => | ||
321 | # | ||
322 | ## Available values: database, playlist. | ||
323 | ## | ||
324 | #default_place_to_search_in = database | ||
325 | # | ||
326 | ## Available values: classic, alternative. | ||
327 | ## | ||
328 | user_interface = alternative | ||
329 | # | ||
330 | #data_fetching_delay = yes | ||
331 | # | ||
332 | ## Available values: artist, album_artist, date, genre, composer, performer. | ||
333 | ## | ||
334 | #media_library_primary_tag = artist | ||
335 | # | ||
336 | #media_library_albums_split_by_date = yes | ||
337 | # | ||
338 | ## Available values: wrapped, normal. | ||
339 | ## | ||
340 | #default_find_mode = wrapped | ||
341 | # | ||
342 | #default_tag_editor_pattern = %n - %t | ||
343 | # | ||
344 | #header_visibility = yes | ||
345 | # | ||
346 | #statusbar_visibility = yes | ||
347 | # | ||
348 | #titles_visibility = yes | ||
349 | # | ||
350 | #header_text_scrolling = yes | ||
351 | # | ||
352 | #cyclic_scrolling = no | ||
353 | # | ||
354 | #lines_scrolled = 2 | ||
355 | # | ||
356 | #lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet | ||
357 | # | ||
358 | #follow_now_playing_lyrics = no | ||
359 | # | ||
360 | #fetch_lyrics_for_current_song_in_background = no | ||
361 | # | ||
362 | #store_lyrics_in_song_dir = no | ||
363 | # | ||
364 | #generate_win32_compatible_filenames = yes | ||
365 | # | ||
366 | #allow_for_physical_item_deletion = no | ||
367 | # | ||
368 | ## | ||
369 | ## Note: If you set this variable, ncmpcpp will try to get info from last.fm in | ||
370 | ## language you set and if it fails, it will fall back to english. Otherwise it | ||
371 | ## will use english the first time. | ||
372 | ## | ||
373 | ## Note: Language has to be expressed as an ISO 639 alpha-2 code. | ||
374 | ## | ||
375 | #lastfm_preferred_language = en | ||
376 | # | ||
377 | #space_add_mode = add_remove | ||
378 | # | ||
379 | #show_hidden_files_in_local_browser = no | ||
380 | # | ||
381 | ## | ||
382 | ## How shall screen switcher work? | ||
383 | ## | ||
384 | ## - "previous" - switch between the current and previous screen. | ||
385 | ## - "screen1,...,screenN" - switch between given sequence of screens. | ||
386 | ## | ||
387 | ## Screens available for use: help, playlist, browser, search_engine, | ||
388 | ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock, | ||
389 | ## lyrics, last_fm. | ||
390 | ## | ||
391 | #screen_switcher_mode = playlist, browser | ||
392 | # | ||
393 | ## | ||
394 | ## Note: You can define startup screen by choosing screen from the list above. | ||
395 | ## | ||
396 | #startup_screen = playlist | ||
397 | # | ||
398 | ## | ||
399 | ## Note: You can define startup slave screen by choosing screen from the list | ||
400 | ## above or an empty value for no slave screen. | ||
401 | ## | ||
402 | #startup_slave_screen = "" | ||
403 | # | ||
404 | #startup_slave_screen_focus = no | ||
405 | # | ||
406 | ## | ||
407 | ## Default width of locked screen (in %). Acceptable values are from 20 to 80. | ||
408 | ## | ||
409 | # | ||
410 | #locked_screen_width_part = 50 | ||
411 | # | ||
412 | #ask_for_locked_screen_width_part = yes | ||
413 | # | ||
414 | #jump_to_now_playing_song_at_start = yes | ||
415 | # | ||
416 | #ask_before_clearing_playlists = yes | ||
417 | # | ||
418 | #clock_display_seconds = no | ||
419 | # | ||
420 | #display_volume_level = yes | ||
421 | # | ||
422 | #display_bitrate = no | ||
423 | # | ||
424 | #display_remaining_time = no | ||
425 | # | ||
426 | ## Available values: none, basic, extended, perl. | ||
427 | ## | ||
428 | #regular_expressions = perl | ||
429 | # | ||
430 | ## | ||
431 | ## Note: if below is enabled, ncmpcpp will ignore leading "The" word while | ||
432 | ## sorting items in browser, tags in media library, etc. | ||
433 | ## | ||
434 | #ignore_leading_the = no | ||
435 | # | ||
436 | ## | ||
437 | ## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and | ||
438 | ## filtering lists. This takes an effect only if boost was compiled with ICU | ||
439 | ## support. | ||
440 | ## | ||
441 | #ignore_diacritics = no | ||
442 | # | ||
443 | #block_search_constraints_change_if_items_found = yes | ||
444 | # | ||
445 | #mouse_support = yes | ||
446 | # | ||
447 | #mouse_list_scroll_whole_page = yes | ||
448 | # | ||
449 | #empty_tag_marker = <empty> | ||
450 | # | ||
451 | #tags_separator = " | " | ||
452 | # | ||
453 | #tag_editor_extended_numeration = no | ||
454 | # | ||
455 | #media_library_sort_by_mtime = no | ||
456 | # | ||
457 | #enable_window_title = yes | ||
458 | # | ||
459 | ## | ||
460 | ## Note: You can choose default search mode for search engine. Available modes | ||
461 | ## are: | ||
462 | ## | ||
463 | ## - 1 - use mpd built-in searching (no regexes, pattern matching) | ||
464 | ## | ||
465 | ## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but | ||
466 | ## if your mpd is on a remote machine, downloading big database to process | ||
467 | ## it can take a while | ||
468 | ## | ||
469 | ## - 3 - match only exact values (this mode uses mpd function for searching in | ||
470 | ## database and local one for searching in current playlist) | ||
471 | ## | ||
472 | # | ||
473 | #search_engine_default_search_mode = 1 | ||
474 | # | ||
475 | #external_editor = nano | ||
476 | # | ||
477 | ## Note: set to yes if external editor is a console application. | ||
478 | ## | ||
479 | #use_console_editor = yes | ||
480 | # | ||
481 | ##### colors definitions ##### | ||
482 | ## | ||
483 | ## It is possible to set a background color by setting a color value | ||
484 | ## "<foreground>_<background>", e.g. red_black will set foregound color to red | ||
485 | ## and background color to black. | ||
486 | ## | ||
487 | ## In addition, for terminals that support 256 colors it is possible to set one | ||
488 | ## of them by using a number in range [1, 256] instead of color name, | ||
489 | ## e.g. numerical value corresponding to red_black is 2_1. To find out if the | ||
490 | ## terminal supports 256 colors, run ncmpcpp and check out the bottom of the | ||
491 | ## help screen for list of available colors and their numerical values. | ||
492 | ## | ||
493 | ## What is more, there are two special values for the background color: | ||
494 | ## "transparent" and "current". The first one explicitly sets the background to | ||
495 | ## be transparent, while the second one allows you to preserve current | ||
496 | ## background color and change only the foreground one. It's used implicitly | ||
497 | ## when background color is not specified. | ||
498 | ## | ||
499 | ## Moreover, it is possible to attach format information to selected color | ||
500 | ## variables by appending to their end a colon followed by one or more format | ||
501 | ## flags, e.g. black:b or red:ur. The following variables support this syntax: | ||
502 | ## visualizer_color, color1, color2, empty_tag_color, volume_color, | ||
503 | ## state_line_color, state_flags_color, progressbar_color, | ||
504 | ## progressbar_elapsed_color, player_state_color, statusbar_time_color, | ||
505 | ## alternative_ui_separator_color. | ||
506 | ## | ||
507 | ## Note: due to technical limitations of older ncurses version, if 256 colors | ||
508 | ## are used there is a possibility that you'll be able to use only colors with | ||
509 | ## transparent background. | ||
510 | # | ||
511 | #colors_enabled = yes | ||
512 | # | ||
513 | #empty_tag_color = cyan | ||
514 | # | ||
515 | #header_window_color = default | ||
516 | # | ||
517 | #volume_color = default | ||
518 | # | ||
519 | #state_line_color = default | ||
520 | # | ||
521 | #state_flags_color = default:b | ||
522 | # | ||
523 | #main_window_color = yellow | ||
524 | # | ||
525 | #color1 = white | ||
526 | # | ||
527 | #color2 = green | ||
528 | # | ||
529 | #progressbar_color = black:b | ||
530 | # | ||
531 | #progressbar_elapsed_color = green:b | ||
532 | # | ||
533 | #statusbar_color = default | ||
534 | # | ||
535 | #statusbar_time_color = default:b | ||
536 | # | ||
537 | #player_state_color = default:b | ||
538 | # | ||
539 | #alternative_ui_separator_color = black:b | ||
540 | # | ||
541 | #window_border_color = green | ||
542 | # | ||
543 | #active_window_border = red | ||