Dotfiles for different machines on different branches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

545 lines
15 KiB

  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 = ~/.config/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 = ~/.config/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 = spectrum
  84. #
  85. #visualizer_look = ●卐
  86. #visualizer_look = 卐
  87. #
  88. #visualizer_color = blue, cyan, green, yellow, magenta, red
  89. #
  90. ## Alternative subset of 256 colors for terminals that support it.
  91. ##
  92. #visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161
  93. #
  94. ##### system encoding #####
  95. ##
  96. ## ncmpcpp should detect your charset encoding but if it failed to do so, you
  97. ## can specify charset encoding you are using here.
  98. ##
  99. ## Note: You can see whether your ncmpcpp build supports charset detection by
  100. ## checking output of `ncmpcpp --version`.
  101. ##
  102. ## Note: Since MPD uses UTF-8 by default, setting this option makes sense only
  103. ## if your encoding is different.
  104. ##
  105. #
  106. #system_encoding = ""
  107. #
  108. ##### delays #####
  109. #
  110. ## Time of inactivity (in seconds) after playlist highlighting will be disabled
  111. ## (0 = always on).
  112. ##
  113. #playlist_disable_highlight_delay = 5
  114. #
  115. ## Defines how long messages are supposed to be visible.
  116. ##
  117. message_delay_time = 1
  118. #
  119. ##### song format #####
  120. ##
  121. ## For a song format you can use:
  122. ##
  123. ## %l - length
  124. ## %f - filename
  125. ## %D - directory
  126. ## %a - artist
  127. ## %A - album artist
  128. ## %t - title
  129. ## %b - album
  130. ## %y - date
  131. ## %n - track number (01/12 -> 01)
  132. ## %N - full track info (01/12 -> 01/12)
  133. ## %g - genre
  134. ## %c - composer
  135. ## %p - performer
  136. ## %d - disc
  137. ## %C - comment
  138. ## %P - priority
  139. ## $R - begin right alignment
  140. ##
  141. ## If you want to make sure that a part of the format is displayed only when
  142. ## certain tags are present, you can archieve it by grouping them with brackets,
  143. ## e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are
  144. ## present or '' otherwise. It is also possible to define a list of
  145. ## alternatives by providing several groups and separating them with '|',
  146. ## e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is
  147. ## not present.
  148. ##
  149. ## Note: If you want to set limit on maximal length of a tag, just put the
  150. ## appropriate number between % and character that defines tag type, e.g. to
  151. ## make album take max. 20 terminal cells, use '%20b'.
  152. ##
  153. ## In addition, formats support markers used for text attributes. They are
  154. ## followed by character '$'. After that you can put:
  155. ##
  156. ## - 0 - default window color (discards all other colors)
  157. ## - 1 - black
  158. ## - 2 - red
  159. ## - 3 - green
  160. ## - 4 - yellow
  161. ## - 5 - blue
  162. ## - 6 - magenta
  163. ## - 7 - cyan
  164. ## - 8 - white
  165. ## - 9 - end of current color
  166. ## - b - bold text
  167. ## - u - underline text
  168. ## - r - reverse colors
  169. ## - a - use alternative character set
  170. ##
  171. ## If you don't want to use a non-color attribute anymore, just put it again,
  172. ## but this time insert character '/' between '$' and attribute character,
  173. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with
  174. ## reversed colors.
  175. ##
  176. ## If you want to use 256 colors and/or background colors in formats (the naming
  177. ## scheme is described below in section about color definitions), it can be done
  178. ## with the syntax $(COLOR), e.g. to set the artist tag to one of the
  179. ## non-standard colors and make it have yellow background, you need to write
  180. ## $(197_yellow)%a$(end). Note that for standard colors this is interchangable
  181. ## with attributes listed above.
  182. ##
  183. ## Note: colors can be nested.
  184. ##
  185. #
  186. song_list_format = {$4%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
  187. #
  188. song_status_format = $b{{$8"%t"}} $3by {$4%a{ $3in $7%b{ (%y)}} $3}|{$8%f}
  189. #
  190. song_library_format = {%n - }{%t}|{%f}
  191. #
  192. alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
  193. #
  194. alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
  195. #
  196. current_item_prefix = $(cyan)$r$b
  197. #
  198. current_item_suffix = $/r$(end)$/b
  199. #
  200. current_item_inactive_column_prefix = $(magenta)$r
  201. #
  202. current_item_inactive_column_suffix = $/r$(end)
  203. #
  204. #now_playing_prefix = $b
  205. #
  206. #now_playing_suffix = $/b
  207. #
  208. #browser_playlist_prefix = "$2playlist$9 "
  209. #
  210. #selected_item_prefix = $6
  211. #
  212. #selected_item_suffix = $9
  213. #
  214. #modified_item_prefix = $3> $9
  215. #
  216. ##
  217. ## Note: attributes are not supported for the following variables.
  218. ##
  219. #song_window_title_format = {%a - }{%t}|{%f}
  220. ##
  221. ## Note: Below variables are used for sorting songs in browser. The sort mode
  222. ## determines how songs are sorted, and can be used in combination with a sort
  223. ## format to specify a custom sorting format. Available values for
  224. ## browser_sort_mode are "name", "mtime", "format" and "noop".
  225. ##
  226. #
  227. #browser_sort_mode = name
  228. #
  229. #browser_sort_format = {%a - }{%t}|{%f} {(%l)}
  230. #
  231. ##### columns settings #####
  232. ##
  233. ## syntax of song columns list format is "column column etc."
  234. ##
  235. ## - syntax for each column is:
  236. ##
  237. ## (width of the column)[color of the column]{displayed tag}
  238. ##
  239. ## Note: Width is by default in %, if you want a column to have fixed size, add
  240. ## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of
  241. ## screen (so the real width will depend on actual screen size), whereas
  242. ## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen
  243. ## is.
  244. ##
  245. ## - color is optional (if you want the default one, leave the field empty).
  246. ##
  247. ## Note: You can give a column additional attributes by putting appropriate
  248. ## character after displayed tag character. Available attributes are:
  249. ##
  250. ## - r - column will be right aligned
  251. ## - E - if tag is empty, empty tag marker won't be displayed
  252. ##
  253. ## You can also:
  254. ##
  255. ## - give a column custom name by putting it after attributes, separated with
  256. ## character ':', e.g. {lr:Length} gives you right aligned column of lengths
  257. ## named "Length".
  258. ##
  259. ## - define sequence of tags, that have to be displayed in case predecessor is
  260. ## empty in a way similar to the one in classic song format, i.e. using '|'
  261. ## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to
  262. ## display artist tag and then composer and performer if previous ones are not
  263. ## available.
  264. ##
  265. #
  266. #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
  267. #
  268. ##### various settings #####
  269. #
  270. ##
  271. ## Note: Custom command that will be executed each time song changes. Useful for
  272. ## notifications etc.
  273. ##
  274. #execute_on_song_change = ""
  275. #
  276. ##
  277. ## Note: Custom command that will be executed each time player state
  278. ## changes. The environment variable MPD_PLAYER_STATE is set to the current
  279. ## state (either unknown, play, pause, or stop) for its duration.
  280. ##
  281. #
  282. #execute_on_player_state_change = ""
  283. #
  284. #playlist_show_mpd_host = no
  285. #
  286. #playlist_show_remaining_time = no
  287. #
  288. #playlist_shorten_total_times = no
  289. #
  290. #playlist_separate_albums = no
  291. #
  292. ##
  293. ## Note: Possible display modes: classic, columns.
  294. ##
  295. playlist_display_mode = columns
  296. #
  297. browser_display_mode = columns
  298. #
  299. #search_engine_display_mode = classic
  300. #
  301. #playlist_editor_display_mode = classic
  302. #
  303. #discard_colors_if_item_is_selected = yes
  304. #
  305. #show_duplicate_tags = true
  306. #
  307. #incremental_seeking = yes
  308. #
  309. #seek_time = 1
  310. #
  311. #volume_change_step = 2
  312. #
  313. #autocenter_mode = no
  314. #
  315. #centered_cursor = no
  316. #
  317. ##
  318. ## Note: You can specify third character which will be used to build 'empty'
  319. ## part of progressbar.
  320. ##
  321. progressbar_look = ->
  322. #
  323. ## Available values: database, playlist.
  324. ##
  325. #default_place_to_search_in = database
  326. #
  327. ## Available values: classic, alternative.
  328. ##
  329. #user_interface = classic
  330. #
  331. #data_fetching_delay = yes
  332. #
  333. ## Available values: artist, album_artist, date, genre, composer, performer.
  334. ##
  335. media_library_primary_tag = album_artist
  336. #
  337. media_library_albums_split_by_date = no
  338. #
  339. ## Available values: wrapped, normal.
  340. ##
  341. #default_find_mode = wrapped
  342. #
  343. #default_tag_editor_pattern = %n - %t
  344. #
  345. #header_visibility = yes
  346. #
  347. #statusbar_visibility = yes
  348. #
  349. #titles_visibility = yes
  350. #
  351. #header_text_scrolling = yes
  352. #
  353. #cyclic_scrolling = no
  354. #
  355. #lines_scrolled = 2
  356. #
  357. #lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet
  358. #
  359. #follow_now_playing_lyrics = no
  360. #
  361. #fetch_lyrics_for_current_song_in_background = no
  362. #
  363. #store_lyrics_in_song_dir = no
  364. #
  365. #generate_win32_compatible_filenames = yes
  366. #
  367. #allow_for_physical_item_deletion = no
  368. #
  369. ##
  370. ## Note: If you set this variable, ncmpcpp will try to get info from last.fm in
  371. ## language you set and if it fails, it will fall back to english. Otherwise it
  372. ## will use english the first time.
  373. ##
  374. ## Note: Language has to be expressed as an ISO 639 alpha-2 code.
  375. ##
  376. #lastfm_preferred_language = en
  377. #
  378. #space_add_mode = add_remove
  379. #
  380. #show_hidden_files_in_local_browser = no
  381. #
  382. ##
  383. ## How shall screen switcher work?
  384. ##
  385. ## - "previous" - switch between the current and previous screen.
  386. ## - "screen1,...,screenN" - switch between given sequence of screens.
  387. ##
  388. ## Screens available for use: help, playlist, browser, search_engine,
  389. ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock,
  390. ## lyrics, last_fm.
  391. ##
  392. #screen_switcher_mode = playlist, browser
  393. #
  394. ##
  395. ## Note: You can define startup screen by choosing screen from the list above.
  396. ##
  397. startup_screen = media_library
  398. #
  399. ##
  400. ## Note: You can define startup slave screen by choosing screen from the list
  401. ## above or an empty value for no slave screen.
  402. ##
  403. #startup_slave_screen = ""
  404. #
  405. #startup_slave_screen_focus = no
  406. #
  407. ##
  408. ## Default width of locked screen (in %). Acceptable values are from 20 to 80.
  409. ##
  410. #
  411. #locked_screen_width_part = 50
  412. #
  413. #ask_for_locked_screen_width_part = yes
  414. #
  415. #jump_to_now_playing_song_at_start = yes
  416. #
  417. #ask_before_clearing_playlists = yes
  418. #
  419. #clock_display_seconds = no
  420. #
  421. display_volume_level = no
  422. #
  423. #display_bitrate = no
  424. #
  425. #display_remaining_time = no
  426. #
  427. ## Available values: none, basic, extended, perl.
  428. ##
  429. #regular_expressions = perl
  430. #
  431. ##
  432. ## Note: if below is enabled, ncmpcpp will ignore leading "The" word while
  433. ## sorting items in browser, tags in media library, etc.
  434. ##
  435. ignore_leading_the = yes
  436. #
  437. ##
  438. ## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and
  439. ## filtering lists. This takes an effect only if boost was compiled with ICU
  440. ## support.
  441. ##
  442. #ignore_diacritics = no
  443. #
  444. #block_search_constraints_change_if_items_found = yes
  445. #
  446. #mouse_support = yes
  447. #
  448. #mouse_list_scroll_whole_page = yes
  449. #
  450. #empty_tag_marker = <empty>
  451. #
  452. #tags_separator = " | "
  453. #
  454. #tag_editor_extended_numeration = no
  455. #
  456. #media_library_sort_by_mtime = no
  457. #
  458. #enable_window_title = yes
  459. #
  460. ##
  461. ## Note: You can choose default search mode for search engine. Available modes
  462. ## are:
  463. ##
  464. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  465. ##
  466. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but
  467. ## if your mpd is on a remote machine, downloading big database to process
  468. ## it can take a while
  469. ##
  470. ## - 3 - match only exact values (this mode uses mpd function for searching in
  471. ## database and local one for searching in current playlist)
  472. ##
  473. #
  474. #search_engine_default_search_mode = 1
  475. #
  476. external_editor = vim
  477. #
  478. ## Note: set to yes if external editor is a console application.
  479. ##
  480. use_console_editor = yes
  481. #
  482. ##### colors definitions #####
  483. ##
  484. ## It is possible to set a background color by setting a color value
  485. ## "<foreground>_<background>", e.g. red_black will set foregound color to red
  486. ## and background color to black.
  487. ##
  488. ## In addition, for terminals that support 256 colors it is possible to set one
  489. ## of them by using a number in range [1, 256] instead of color name,
  490. ## e.g. numerical value corresponding to red_black is 2_1. To find out if the
  491. ## terminal supports 256 colors, run ncmpcpp and check out the bottom of the
  492. ## help screen for list of available colors and their numerical values.
  493. ##
  494. ## What is more, there are two special values for the background color:
  495. ## "transparent" and "current". The first one explicitly sets the background to
  496. ## be transparent, while the second one allows you to preserve current
  497. ## background color and change only the foreground one. It's used implicitly
  498. ## when background color is not specified.
  499. ##
  500. ## Moreover, it is possible to attach format information to selected color
  501. ## variables by appending to their end a colon followed by one or more format
  502. ## flags, e.g. black:b or red:ur. The following variables support this syntax:
  503. ## visualizer_color, color1, color2, empty_tag_color, volume_color,
  504. ## state_line_color, state_flags_color, progressbar_color,
  505. ## progressbar_elapsed_color, player_state_color, statusbar_time_color,
  506. ## alternative_ui_separator_color.
  507. ##
  508. ## Note: due to technical limitations of older ncurses version, if 256 colors
  509. ## are used there is a possibility that you'll be able to use only colors with
  510. ## transparent background.
  511. #
  512. #colors_enabled = yes
  513. #
  514. empty_tag_color = magenta
  515. #
  516. #header_window_color = magenta
  517. #
  518. #volume_color = default
  519. #
  520. #state_line_color = default
  521. #
  522. #state_flags_color = default:b
  523. #
  524. main_window_color = white
  525. #
  526. #color1 = white
  527. #
  528. #color2 = green
  529. #
  530. progressbar_color = black:b
  531. #
  532. progressbar_elapsed_color = blue:b
  533. #
  534. statusbar_color = red
  535. #
  536. statusbar_time_color = cyan:b
  537. #
  538. #player_state_color = default:b
  539. #
  540. #alternative_ui_separator_color = black:b
  541. #
  542. #window_border_color = green
  543. #
  544. #active_window_border = red
  545. #