Add ncmpcpp configuration.

This commit is contained in:
2014-04-26 16:53:24 +02:00
parent 0d942436f5
commit 8548bac69d
2 changed files with 218 additions and 31 deletions

View File

@@ -36,7 +36,8 @@ mpd_music_dir = "~/music/library"
#
#mpd_crossfade_time = "5"
#
#mpd_communication_mode = "notifications" (polling/notifications)
#(polling/notifications)
mpd_communication_mode = "notifications"
#
##### music visualizer #####
##
@@ -170,13 +171,13 @@ mpd_music_dir = "~/music/library"
## Note: colors can be nested.
##
#
#song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
#
#song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
#
#song_library_format = "{%n - }{%t}|{%f}"
song_library_format = "{%n - }{%t}|{%f}"
#
#tag_editor_album_format = "{(%y) }%b"
tag_editor_album_format = "{(%y) }%b"
#
##
## Note: Below variables are for alternative version of user's interface.
@@ -254,7 +255,7 @@ mpd_music_dir = "~/music/library"
## not available.
##
#
#song_columns_list_format = "(7f)[green]{l} (25)[cyan]{a} (40)[]{t|f} (30)[red]{b}"
song_columns_list_format = "(7f)[green]{l} (25)[cyan]{a} (40)[]{t|f} (30)[red]{b}"
#
##### various settings #####
#
@@ -273,19 +274,19 @@ mpd_music_dir = "~/music/library"
#
#playlist_separate_albums = "no"
#
#playlist_display_mode = "classic" (classic/columns)
playlist_display_mode = "columns" (classic/columns)
#
#browser_display_mode = "classic" (classic/columns)
browser_display_mode = "columns" (classic/columns)
#
#search_engine_display_mode = "classic" (classic/columns)
search_engine_display_mode = "columns" (classic/columns)
#
#playlist_editor_display_mode = "classic" (classic/columns)
playlist_editor_display_mode = "columns" (classic/columns)
#
#discard_colors_if_item_is_selected = "yes"
#
#incremental_seeking = "yes"
incremental_seeking = "yes"
#
#seek_time = "1"
seek_time = "1"
#
#autocenter_mode = "no"
#
@@ -295,13 +296,13 @@ mpd_music_dir = "~/music/library"
## Note: You can specify third character which will
## be used to build 'empty' part of progressbar.
##
#progressbar_look = "=>"
progressbar_look = "=="
#
#default_place_to_search_in = "database" (database/playlist)
default_place_to_search_in = "database" (database/playlist)
#
#user_interface = "classic" (classic/alternative)
user_interface = "alternative" (classic/alternative)
#
#media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
media_library_left_column = "A" (possible values: a,y,g,c,p, legend above)
#
#default_find_mode = "wrapped" (wrapped/normal)
#
@@ -311,9 +312,9 @@ mpd_music_dir = "~/music/library"
#
#default_tag_editor_pattern = "%n - %t"
#
#header_visibility = "yes"
header_visibility = "yes"
#
#statusbar_visibility = "yes"
statusbar_visibility = "yes"
#
#titles_visibility = "yes"
#
@@ -392,11 +393,11 @@ mpd_music_dir = "~/music/library"
#
#clock_display_seconds = "no"
#
#display_volume_level = "yes"
display_volume_level = "yes"
#
#display_bitrate = "no"
display_bitrate = "no"
#
#display_remaining_time = "no"
display_remaining_time = "no"
#
#regular_expressions = "basic" (basic/extended)
#
@@ -405,15 +406,15 @@ mpd_music_dir = "~/music/library"
## "The" word while sorting items in browser, tags in
## media library, etc.
##
#ignore_leading_the = "no"
ignore_leading_the = "yes"
#
#block_search_constraints_change_if_items_found = "yes"
#
#mouse_support = "yes"
mouse_support = "yes"
#
#mouse_list_scroll_whole_page = "yes"
mouse_list_scroll_whole_page = "yes"
#
#empty_tag_marker = "<empty>"
empty_tag_marker = "[empty]"
#
#tag_editor_extended_numeration = "no"
#
@@ -437,7 +438,7 @@ mpd_music_dir = "~/music/library"
## in database and local one for searching in current playlist)
##
#
#search_engine_default_search_mode = "1"
search_engine_default_search_mode = "1"
#
##
## Note: Below variables can allow you to physically
@@ -445,17 +446,17 @@ mpd_music_dir = "~/music/library"
## ncmpcpp's browser screen.
##
#
#allow_physical_files_deletion = "no"
allow_physical_files_deletion = "no"
#
#allow_physical_directories_deletion = "no"
allow_physical_directories_deletion = "no"
#
#external_editor = ""
external_editor = "vim"
#
#use_console_editor = "no" (set to yes, if your editor is console app)
use_console_editor = "yes" (set to yes, if your editor is console app)
#
##### colors definitions #####
#
#colors_enabled = "yes"
colors_enabled = "yes"
#
#empty_tag_color = "cyan"
#

186
ncmpcpp/ncmpcpp/keys Normal file
View File

@@ -0,0 +1,186 @@
#####################################################
## this is example key configuration file, copy it ##
## to ~/.ncmpcpp/keys and set up your preferences ##
#####################################################
##
## Tips:
## - it's possible to bind maximum two keys to a command
## - keys can be defined with a character or a decimal value
## - a command can be disabled by binding it to 0
##
## Note: First bind of volume_up/down
## will be used to switch between columns.
##
#
#key_up = 259 'k'
#
#key_down = 258 'j'
#
#key_up_album = '['
#
#key_down_album = ']'
#
#key_up_artist = '{'
#
#key_down_artist = '}'
#
#key_page_up = 339
#
#key_page_down = 338
#
#key_home = 262
#
#key_end = 360
#
#key_space = 32
#
#key_enter = 10
#
#key_delete = 330 'd'
#
#key_volume_up = 261 '+'
#
#key_volume_down = 260 '-'
#
#key_prev_column = 260
#
#key_next_column = 261
#
#key_toggle_space_mode = 't'
#
#key_toggle_add_mode = 'T'
#
#key_toggle_mouse = '|'
#
#key_toggle_bitrate_visibility = '#'
#
#key_screen_switcher = 9
#
#key_backward_screen_switcher = 353
#
#key_help = '1' 265
#
#key_playlist = '2' 266
#
#key_browser = '3' 267
#
#key_search_engine = '4' 268
#
#key_media_library = '5' 269
#
#key_playlist_editor = '6' 270
#
#key_tag_editor = '7' 271
#
#key_outputs = '8' 272
#
#key_music_visualizer = '9' 273
#
#key_clock = '0' 274
#
#key_server_info = '@'
#
#key_stop = 's'
#
#key_pause = 'P'
#
#key_next = '>'
#
#key_prev = '<'
#
#key_replay = 263 127
#
#key_seek_forward = 'f'
#
#key_seek_backward = 'b'
#
#key_toggle_repeat = 'r'
#
#key_toggle_random = 'z'
#
#key_toggle_single = 'y'
#
#key_toggle_consume = 'R'
#
#key_toggle_replay_gain_mode = 'Y'
#
#key_shuffle = 'Z'
#
#key_toggle_crossfade = 'x'
#
#key_set_crossfade = 'X'
#
#key_update_db = 'u'
#
#key_sort_playlist = 22
#
#key_apply_filter = 6
#
#key_find_forward = '/'
#
#key_find_backward = '?'
#
#key_next_found_position = '.'
#
#key_prev_found_position = ','
#
#key_toggle_find_mode = 'w'
#
#key_edit_tags = 'e'
#
#key_go_to_position = 'g'
#
#key_song_info = 'i'
#
#key_artist_info = 'I'
#
#key_lyrics = 'l'
#
#key_reverse_selection = 'v'
#
#key_deselect_all = 'V'
#
#key_select_album = 'B'
#
#key_add_selected_items = 'A'
#
#key_clear = 'c'
#
#key_crop = 'C'
#
#key_move_song_up = 'm'
#
#key_move_song_down = 'n'
#
#key_move_to = 'M'
#
#key_move_before = 0
#
#key_move_after = 0
#
#key_add = 'a'
#
#key_save_playlist = 'S'
#
#key_go_to_now_playing = 'o'
#
#key_toggle_auto_center = 'U'
#
#key_toggle_display_mode = 'p'
#
#key_toggle_separators_in_playlist = '!'
#
#key_toggle_lyrics_db = 'L'
#
#key_toggle_fetching_lyrics_for_current_song_in_background = 'F'
#
#key_go_to_containing_directory = 'G'
#
#key_go_to_media_library = '~'
#
#key_go_to_parent_dir = 263 127
#
#key_switch_tag_type_list = '`'
#
#key_quit = 'q' 'Q'
#