dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

config (15009B)


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