Lemur Pro nixos dotfiles
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.

621 lines
17 KiB

3 years ago
  1. ##############################################################
  2. ## This is an example configuration file. Copy it to ##
  3. ## $XDG_CONFIG_HOME/ncmpcpp/config or $HOME/.ncmpcpp/config ##
  4. ## and set up your preferences. ##
  5. ##############################################################
  6. #
  7. ##### directories ######
  8. ##
  9. ## Directory for storing ncmpcpp related files. Changing it is useful if you
  10. ## want to store everything somewhere else and provide command line setting for
  11. ## alternative location to config file which defines that while launching
  12. ## ncmpcpp.
  13. ##
  14. #
  15. #ncmpcpp_directory = ~/.config/ncmpcpp
  16. #
  17. ##
  18. ## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
  19. ## MPD clients (eg. ncmpc) also use that location.
  20. ##
  21. #
  22. #lyrics_directory = ~/.lyrics
  23. #
  24. ##### connection settings #####
  25. #
  26. mpd_host = localhost
  27. #mpd_host = 192.168.1.34
  28. #
  29. mpd_port = 6600
  30. #
  31. #mpd_password = ""
  32. #
  33. #mpd_connection_timeout = 5
  34. #
  35. ## Needed for tag editor and file operations to work.
  36. ##
  37. #mpd_music_dir = ~/music
  38. #
  39. #mpd_crossfade_time = 5
  40. #
  41. # Exclude pattern for random song action
  42. # http://www.boost.org/doc/libs/1_46_1/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html
  43. #random_exclude_pattern = "^(temp|midi_songs).*"
  44. #
  45. ##### music visualizer #####
  46. ##
  47. ## In order to make music visualizer work with MPD you need to use the fifo
  48. ## output. Its format parameter has to be set to 44100:16:1 for mono
  49. ## visualization or 44100:16:2 for stereo visualization. As an example here is
  50. ## the relevant section for mpd.conf:
  51. ##
  52. audio_output {
  53. type "fifo"
  54. name "Visualizer feed"
  55. path "/tmp/mpd.fifo"
  56. format "44100:16:2"
  57. }
  58. visualizer_data_source = "/tmp/mpd.fifo"
  59. visualizer_output_name = "my_fifo"
  60. visualizer_in_stereo = "yes"
  61. visualizer_type = "spectrum"
  62. visualizer_look = "+|"
  63. ##
  64. ## If the visualization on occasion diverges from the audio output, please set
  65. ## 'buffer_time' parameter of your audio output in mpd.conf to '100000' (100ms)
  66. ## or less to prevent that from happening.
  67. ##
  68. ## Note: If you're using Mopidy, an address of a udpsink gstreamer's output is
  69. ## also accepted. For example, the following section in mopidy.conf:
  70. ##
  71. ## [audio]
  72. ## output = tee name=t ! queue ! autoaudiosink t.
  73. ## ! queue ! audio/x-raw,rate=44100,channels=2,format=S16LE
  74. ## ! udpsink host=localhost port=5555
  75. ##
  76. ## will make localhost:5555 available as a source of data for the stereo
  77. ## visualizer.
  78. ##
  79. #
  80. #visualizer_data_source = /tmp/mpd.fifo
  81. #
  82. ##
  83. ## Note: Below parameter is needed for ncmpcpp to determine which output
  84. ## provides data for visualizer and reset it at the beginning of visualization
  85. ## to synchronize with audio.
  86. ##
  87. #
  88. #visualizer_output_name = Visualizer feed
  89. #
  90. ##
  91. ## If you set format to 44100:16:2, make it 'yes'.
  92. ##
  93. #visualizer_in_stereo = yes
  94. #
  95. ##
  96. ## Note: set below to >=10 only if you have synchronization issues with
  97. ## visualization and audio.
  98. ##
  99. #
  100. #visualizer_sync_interval = 0
  101. #
  102. ##
  103. ## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
  104. ## with fftw3 support.
  105. ##
  106. #
  107. ## Available values: spectrum, wave, wave_filled, ellipse.
  108. ##
  109. #visualizer_type = spectrum
  110. #
  111. #visualizer_fps = 60
  112. #
  113. #visualizer_autoscale = no
  114. #
  115. #visualizer_look = ●▮
  116. #
  117. #visualizer_color = blue, cyan, green, yellow, magenta, red
  118. #
  119. ## Alternative subset of 256 colors for terminals that support it.
  120. ##
  121. #visualizer_color = 47, 83, 119, 155, 191, 227, 221, 215, 209, 203, 197, 161
  122. #
  123. ##
  124. ## Note: The next few visualization options apply to the spectrum visualizer.
  125. ##
  126. #
  127. ## Use unicode block characters for a smoother, more continuous look.
  128. ## This will override the visualizer_look option. With transparent terminals
  129. ## and visualizer_in_stereo set, artifacts may be visible on the bottom half of
  130. ## the visualization.
  131. #
  132. #visualizer_spectrum_smooth_look = yes
  133. #
  134. ## A value between 1 and 5 inclusive. Specifying a larger value makes the
  135. ## visualizer look at a larger slice of time, which results in less jumpy
  136. ## visualizer output.
  137. #
  138. #visualizer_spectrum_dft_size = 2
  139. #
  140. #visualizer_spectrum_gain = 10
  141. #
  142. ## Left-most frequency of visualizer in Hz, must be less than HZ MAX
  143. #
  144. #visualizer_spectrum_hz_min = 20
  145. #
  146. ## Right-most frequency of visualizer in Hz, must be greater than HZ MIN
  147. #
  148. #visualizer_spectrum_hz_max = 20000
  149. #
  150. ##### system encoding #####
  151. ##
  152. ## ncmpcpp should detect your charset encoding but if it failed to do so, you
  153. ## can specify charset encoding you are using here.
  154. ##
  155. ## Note: You can see whether your ncmpcpp build supports charset detection by
  156. ## checking output of `ncmpcpp --version`.
  157. ##
  158. ## Note: Since MPD uses UTF-8 by default, setting this option makes sense only
  159. ## if your encoding is different.
  160. ##
  161. #
  162. #system_encoding = ""
  163. #
  164. ##### delays #####
  165. #
  166. ## Time of inactivity (in seconds) after playlist highlighting will be disabled
  167. ## (0 = always on).
  168. ##
  169. #playlist_disable_highlight_delay = 5
  170. #
  171. ## Defines how long messages are supposed to be visible.
  172. ##
  173. #message_delay_time = 5
  174. #
  175. ##### song format #####
  176. ##
  177. ## For a song format you can use:
  178. ##
  179. ## %l - length
  180. ## %f - filename
  181. ## %D - directory
  182. ## %a - artist
  183. ## %A - album artist
  184. ## %t - title
  185. ## %b - album
  186. ## %y - date
  187. ## %n - track number (01/12 -> 01)
  188. ## %N - full track info (01/12 -> 01/12)
  189. ## %g - genre
  190. ## %c - composer
  191. ## %p - performer
  192. ## %d - disc
  193. ## %C - comment
  194. ## %P - priority
  195. ## $R - begin right alignment
  196. ##
  197. ## If you want to make sure that a part of the format is displayed only when
  198. ## certain tags are present, you can archieve it by grouping them with brackets,
  199. ## e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are
  200. ## present or '' otherwise. It is also possible to define a list of
  201. ## alternatives by providing several groups and separating them with '|',
  202. ## e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is
  203. ## not present.
  204. ##
  205. ## Note: If you want to set limit on maximal length of a tag, just put the
  206. ## appropriate number between % and character that defines tag type, e.g. to
  207. ## make album take max. 20 terminal cells, use '%20b'.
  208. ##
  209. ## In addition, formats support markers used for text attributes. They are
  210. ## followed by character '$'. After that you can put:
  211. ##
  212. ## - 0 - default window color (discards all other colors)
  213. ## - 1 - black
  214. ## - 2 - red
  215. ## - 3 - green
  216. ## - 4 - yellow
  217. ## - 5 - blue
  218. ## - 6 - magenta
  219. ## - 7 - cyan
  220. ## - 8 - white
  221. ## - 9 - end of current color
  222. ## - b - bold text
  223. ## - u - underline text
  224. ## - r - reverse colors
  225. ## - a - use alternative character set
  226. ##
  227. ## If you don't want to use a non-color attribute anymore, just put it again,
  228. ## but this time insert character '/' between '$' and attribute character,
  229. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with
  230. ## reversed colors.
  231. ##
  232. ## If you want to use 256 colors and/or background colors in formats (the naming
  233. ## scheme is described below in section about color definitions), it can be done
  234. ## with the syntax $(COLOR), e.g. to set the artist tag to one of the
  235. ## non-standard colors and make it have yellow background, you need to write
  236. ## $(197_yellow)%a$(end). Note that for standard colors this is interchangable
  237. ## with attributes listed above.
  238. ##
  239. ## Note: colors can be nested.
  240. ##
  241. #
  242. #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3%l$9}
  243. #
  244. #song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
  245. #
  246. #song_library_format = {%n - }{%t}|{%f}
  247. #
  248. #alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
  249. #
  250. #alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
  251. #
  252. #current_item_prefix = $(yellow)$r
  253. #
  254. #current_item_suffix = $/r$(end)
  255. #
  256. #current_item_inactive_column_prefix = $(white)$r
  257. #
  258. #current_item_inactive_column_suffix = $/r$(end)
  259. #
  260. #now_playing_prefix = $b
  261. #
  262. #now_playing_suffix = $/b
  263. #
  264. #browser_playlist_prefix = "$2playlist$9 "
  265. #
  266. #selected_item_prefix = $6
  267. #
  268. #selected_item_suffix = $9
  269. #
  270. #modified_item_prefix = $3> $9
  271. #
  272. ##
  273. ## Note: attributes are not supported for the following variables.
  274. ##
  275. #song_window_title_format = {%a - }{%t}|{%f}
  276. ##
  277. ## Note: Below variables are used for sorting songs in browser. The sort mode
  278. ## determines how songs are sorted, and can be used in combination with a sort
  279. ## format to specify a custom sorting format. Available values for
  280. ## browser_sort_mode are "type", "name", "mtime", "format" and "none".
  281. ##
  282. #
  283. #browser_sort_mode = type
  284. #
  285. #browser_sort_format = {%a - }{%t}|{%f} {%l}
  286. #
  287. ##### columns settings #####
  288. ##
  289. ## syntax of song columns list format is "column column etc."
  290. ##
  291. ## - syntax for each column is:
  292. ##
  293. ## (width of the column)[color of the column]{displayed tag}
  294. ##
  295. ## Note: Width is by default in %, if you want a column to have fixed size, add
  296. ## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of
  297. ## screen (so the real width will depend on actual screen size), whereas
  298. ## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen
  299. ## is.
  300. ##
  301. ## - color is optional (if you want the default one, leave the field empty).
  302. ##
  303. ## Note: You can give a column additional attributes by putting appropriate
  304. ## character after displayed tag character. Available attributes are:
  305. ##
  306. ## - r - column will be right aligned
  307. ## - E - if tag is empty, empty tag marker won't be displayed
  308. ##
  309. ## You can also:
  310. ##
  311. ## - give a column custom name by putting it after attributes, separated with
  312. ## character ':', e.g. {lr:Length} gives you right aligned column of lengths
  313. ## named "Length".
  314. ##
  315. ## - define sequence of tags, that have to be displayed in case predecessor is
  316. ## empty in a way similar to the one in classic song format, i.e. using '|'
  317. ## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to
  318. ## display artist tag and then composer and performer if previous ones are not
  319. ## available.
  320. ##
  321. #
  322. #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
  323. #
  324. ##### various settings #####
  325. #
  326. ##
  327. ## Note: Custom command that will be executed each time song changes. Useful for
  328. ## notifications etc.
  329. ##
  330. #execute_on_song_change = ""
  331. #
  332. ##
  333. ## Note: Custom command that will be executed each time player state
  334. ## changes. The environment variable MPD_PLAYER_STATE is set to the current
  335. ## state (either unknown, play, pause, or stop) for its duration.
  336. ##
  337. #
  338. #execute_on_player_state_change = ""
  339. #
  340. #playlist_show_mpd_host = no
  341. #
  342. #playlist_show_remaining_time = no
  343. #
  344. #playlist_shorten_total_times = no
  345. #
  346. #playlist_separate_albums = no
  347. #
  348. ##
  349. ## Note: Possible display modes: classic, columns.
  350. ##
  351. #playlist_display_mode = columns
  352. #
  353. #browser_display_mode = classic
  354. #
  355. #search_engine_display_mode = classic
  356. #
  357. #playlist_editor_display_mode = classic
  358. #
  359. #discard_colors_if_item_is_selected = yes
  360. #
  361. #show_duplicate_tags = yes
  362. #
  363. #incremental_seeking = yes
  364. #
  365. #seek_time = 1
  366. #
  367. #volume_change_step = 2
  368. #
  369. #autocenter_mode = no
  370. #
  371. #centered_cursor = no
  372. #
  373. ##
  374. ## Note: You can specify third character which will be used to build 'empty'
  375. ## part of progressbar.
  376. ##
  377. #progressbar_look = =>
  378. #
  379. ## Available values: database, playlist.
  380. ##
  381. #default_place_to_search_in = database
  382. #
  383. ## Available values: classic, alternative.
  384. ##
  385. #user_interface = classic
  386. #
  387. #data_fetching_delay = yes
  388. #
  389. ## Available values: artist, album_artist, date, genre, composer, performer.
  390. ##
  391. #media_library_primary_tag = artist
  392. #
  393. #media_library_albums_split_by_date = yes
  394. #
  395. #media_library_hide_album_dates = no
  396. #
  397. ## Available values: wrapped, normal.
  398. ##
  399. #default_find_mode = wrapped
  400. #
  401. #default_tag_editor_pattern = %n - %t
  402. #
  403. #header_visibility = yes
  404. #
  405. #statusbar_visibility = yes
  406. #
  407. ## Show the "Connected to ..." message on startup
  408. #connected_message_on_startup = yes
  409. #
  410. #titles_visibility = yes
  411. #
  412. #header_text_scrolling = yes
  413. #
  414. #cyclic_scrolling = no
  415. #
  416. #lyrics_fetchers = azlyrics, genius, musixmatch, sing365, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, zeneszoveg, internet
  417. #
  418. #follow_now_playing_lyrics = no
  419. #
  420. #fetch_lyrics_for_current_song_in_background = no
  421. #
  422. #store_lyrics_in_song_dir = no
  423. #
  424. #generate_win32_compatible_filenames = yes
  425. #
  426. #allow_for_physical_item_deletion = no
  427. #
  428. ##
  429. ## Note: If you set this variable, ncmpcpp will try to get info from last.fm in
  430. ## language you set and if it fails, it will fall back to english. Otherwise it
  431. ## will use english the first time.
  432. ##
  433. ## Note: Language has to be expressed as an ISO 639 alpha-2 code.
  434. ##
  435. #lastfm_preferred_language = en
  436. #
  437. #space_add_mode = add_remove
  438. #
  439. #show_hidden_files_in_local_browser = no
  440. #
  441. ##
  442. ## How shall screen switcher work?
  443. ##
  444. ## - "previous" - switch between the current and previous screen.
  445. ## - "screen1,...,screenN" - switch between given sequence of screens.
  446. ##
  447. ## Screens available for use: help, playlist, browser, search_engine,
  448. ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock,
  449. ## lyrics, last_fm.
  450. ##
  451. #screen_switcher_mode = playlist, browser
  452. #
  453. ##
  454. ## Note: You can define startup screen by choosing screen from the list above.
  455. ##
  456. #startup_screen = playlist
  457. #
  458. ##
  459. ## Note: You can define startup slave screen by choosing screen from the list
  460. ## above or an empty value for no slave screen.
  461. ##
  462. #startup_slave_screen = ""
  463. #
  464. #startup_slave_screen_focus = no
  465. #
  466. ##
  467. ## Default width of locked screen (in %). Acceptable values are from 20 to 80.
  468. ##
  469. #
  470. #locked_screen_width_part = 50
  471. #
  472. #ask_for_locked_screen_width_part = yes
  473. #
  474. ##
  475. ## Width of media_library screen columns
  476. ##
  477. #
  478. #media_library_column_width_ratio_two = 1:1
  479. #
  480. #media_library_column_width_ratio_three = 1:1:1
  481. #
  482. ##
  483. ## Width of playlist_editor screen columns
  484. ##
  485. #
  486. #playlist_editor_column_width_ratio = 1:2
  487. #
  488. #jump_to_now_playing_song_at_start = yes
  489. #
  490. #ask_before_clearing_playlists = yes
  491. #
  492. #clock_display_seconds = no
  493. #
  494. #display_volume_level = yes
  495. #
  496. #display_bitrate = no
  497. #
  498. #display_remaining_time = no
  499. #
  500. ## Available values: none, basic, extended, perl.
  501. ##
  502. #regular_expressions = perl
  503. #
  504. ##
  505. ## Note: if below is enabled, ncmpcpp will ignore leading "The" word while
  506. ## sorting items in browser, tags in media library, etc.
  507. ##
  508. #ignore_leading_the = no
  509. #
  510. ##
  511. ## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and
  512. ## filtering lists. This takes an effect only if boost was compiled with ICU
  513. ## support.
  514. ##
  515. #ignore_diacritics = no
  516. #
  517. #block_search_constraints_change_if_items_found = yes
  518. #
  519. #mouse_support = yes
  520. #
  521. #mouse_list_scroll_whole_page = no
  522. #
  523. #lines_scrolled = 5
  524. #
  525. #empty_tag_marker = <empty>
  526. #
  527. #tags_separator = " | "
  528. #
  529. #tag_editor_extended_numeration = no
  530. #
  531. #media_library_sort_by_mtime = no
  532. #
  533. #enable_window_title = yes
  534. #
  535. ##
  536. ## Note: You can choose default search mode for search engine. Available modes
  537. ## are:
  538. ##
  539. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  540. ##
  541. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but
  542. ## if your mpd is on a remote machine, downloading big database to process
  543. ## it can take a while
  544. ##
  545. ## - 3 - match only exact values (this mode uses mpd function for searching in
  546. ## database and local one for searching in current playlist)
  547. ##
  548. #
  549. #search_engine_default_search_mode = 1
  550. #
  551. #external_editor = nano
  552. #
  553. ## Note: set to yes if external editor is a console application.
  554. ##
  555. #use_console_editor = yes
  556. #
  557. ##### colors definitions #####
  558. ##
  559. ## It is possible to set a background color by setting a color value
  560. ## "<foreground>_<background>", e.g. red_black will set foregound color to red
  561. ## and background color to black.
  562. ##
  563. ## In addition, for terminals that support 256 colors it is possible to set one
  564. ## of them by using a number in range [1, 256] instead of color name,
  565. ## e.g. numerical value corresponding to red_black is 2_1. To find out if the
  566. ## terminal supports 256 colors, run ncmpcpp and check out the bottom of the
  567. ## help screen for list of available colors and their numerical values.
  568. ##
  569. ## What is more, there are two special values for the background color:
  570. ## "transparent" and "current". The first one explicitly sets the background to
  571. ## be transparent, while the second one allows you to preserve current
  572. ## background color and change only the foreground one. It's used implicitly
  573. ## when background color is not specified.
  574. ##
  575. ## Moreover, it is possible to attach format information to selected color
  576. ## variables by appending to their end a colon followed by one or more format
  577. ## flags, e.g. black:b or red:ur. The following variables support this syntax:
  578. ## visualizer_color, color1, color2, empty_tag_color, volume_color,
  579. ## state_line_color, state_flags_color, progressbar_color,
  580. ## progressbar_elapsed_color, player_state_color, statusbar_time_color,
  581. ## alternative_ui_separator_color.
  582. ##
  583. ## Note: due to technical limitations of older ncurses version, if 256 colors
  584. ## are used there is a possibility that you'll be able to use only colors with
  585. ## transparent background.
  586. #
  587. #colors_enabled = yes
  588. #
  589. #empty_tag_color = cyan
  590. #
  591. #header_window_color = default
  592. #
  593. #volume_color = default
  594. #
  595. #state_line_color = default
  596. #
  597. #state_flags_color = default:b
  598. #
  599. #main_window_color = yellow
  600. #
  601. #color1 = white
  602. #
  603. #color2 = green
  604. #
  605. #progressbar_color = black:b
  606. #
  607. #progressbar_elapsed_color = green:b
  608. #
  609. #statusbar_color = default
  610. #
  611. #statusbar_time_color = default:b
  612. #
  613. #player_state_color = default:b
  614. #
  615. #alternative_ui_separator_color = black:b
  616. #
  617. #window_border_color = green
  618. #
  619. #active_window_border = red
  620. #