dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 1e563d39665b35dd67b90e73ec9510726084d6cc
parent b4e7533e45efedf0e80b495b2e548c001a067b5f
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Mon Jun  3 11:27:33 2013

reworked the whole config from default

Diffstat:
 ncmpcpp/config | 319 ++++++++++++++++++++++++++++------------------------------
 1 file changed, 156 insertions(+), 163 deletions(-)

diff --git a/ncmpcpp/config b/ncmpcpp/config @@ -1,30 +1,50 @@ -# -## ============================================= -## mpd configuration =========================== -## -mpd_host = "mpdconf@localhost" -mpd_port = "6600" -mpd_music_dir = "/mnt/music/" -# mpd_crossfade_time = "5" - - -# -## ============================================= -## delays ====================================== -## +##### directories ###### +# {{{ +#ncmpcpp_directory = "~/.ncmpcpp" +#lyrics_directory = "~/.lyrics" +# }}} + +###### connection settings ##### +# {{{ +#mpd_host = "localhost" +#mpd_port = "6600" +mpd_music_dir = "/mnt/music/" +#mpd_connection_timeout = "5" +mpd_crossfade_time = "5" +#mpd_communication_mode = "notifications" (polling/notifications) +# }}} + +##### music visualizer ##### +# {{{ +## If you set format to 44100:16:2, make it 'yes'. +visualizer_in_stereo = "no" +visualizer_fifo_path = "/tmp/mpd.fifo" +#visualizer_output_name = "fifo" +visualizer_type = "spectrum" +visualizer_look = "◆▍" +# }}} + +##### system encoding ##### +# {{{ +system_encoding = "utf-8" +# }}} + +##### delays ##### +# {{{ playlist_disable_highlight_delay = "1" -message_delay_time = "4" +#message_delay_time = "5" +# }}} -# -## ============================================= -## song formatting ============================= +##### song format ##### +# {{{ ## -## Song format : +## for song format you can use: ## ## %l - length ## %f - filename ## %D - directory ## %a - artist +## %A - album artist ## %t - title ## %b - album ## %y - year @@ -37,10 +57,10 @@ message_delay_time = "4" ## %C - comment ## $R - begin right alignment ## -## Display if set : {} -## This or that : {%this}|{%that} +## e.g. {%a - %t}|{%f} +## e.g. to make album take max. 20 terminal cells, use '%20b'. ## -## Color format : +## available colors: ## ## - 0 - default window color (discards all other colors) ## - 1 - black @@ -53,162 +73,135 @@ message_delay_time = "4" ## - 8 - white ## - 9 - end of current color ## - -song_list_format = "$0{{$7%a$9} $1»»$9 {%t}}|{%f}$R{$1%l$9}" -song_status_format = "$0{{$7%a$9 }{%t}}|{$7%f$9}" -song_library_format = "$0{$7%n$9 }{%t}|{%f}" -tag_editor_album_format = "%b {($7%y$9)}" - -## -## Only available for the above -## -## - b - bold -## - u - underline -## - r - reverse colors (see color1 & color2 @"color defifinition" -## - a - alternative character set -## -## Set attribute : $? -## Unset attribute : $/? +## Note: colors can be nested. ## - -now_playing_prefix = "$b" -now_playing_suffix = "$/b" -browser_playlist_prefix = "[$b$7playlists$9$/b] " -selected_item_prefix = "$0" -selected_item_suffix = "$9" - -## colors are not supported for below variable -song_window_title_format = "{{%t} -- {%a}}|{%f}" - +song_list_format = "{$7%a$9 $1» }$8{%t}|{%f}" +#song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}" +#song_library_format = "{%n - }{%t}|{%f}" +#tag_editor_album_format = "{(%y) }%b" # -## ============================================= -## column format =============================== -## -## - syntax for each column is: -## -## (width of column)[column's color]{displayed tag} ## -## Note: Width is by default in %, if you want a column to -## have fixed size, add 'f' after the value, e.g. (10)[white]{a} -## will be the column that take 10% of screen (so the real column's -## width will depend on actual screen size), whereas (10f)[white]{a} -## will take 10 terminal cells, no matter how wide the screen is. +## Note: Below variables are for alternative version of user's interface. +## Their syntax supports all tags and colors listed above plus some extra +## markers used for text attributes. They are followed by character '$'. +## After that you can put: ## -## - color is optional (if you want the default one, type []) +## - b - bold text +## - u - underline text +## - r - reverse colors +## - a - use alternative character set ## -## Note: You can give a column additional attributes by putting appropriate -## character after displayed tag character. Available attributes are: +## If you don't want to use an attribute anymore, just put it again, but +## this time insert character '/' between '$' and attribute character, +## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename +## with reversed colors. ## -## - r - column will be right aligned -## - E - if tag is empty, empty tag marker won't be displayed +# +#alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b" +#alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}" +# ## -## E.g. {lr} will give you right aligned column of lengths. +## Note: Below variables also supports +## text attributes listed above. ## - -song_columns_list_format = "(20)[cyan]{a|f} (20)[white]{t} (50)[cyan]{bEr} (6f)[black]{l}" - - - # -## ============================================= -## color definition ============================ -## -colors_enabled = "yes" -empty_tag_color = "cyan" -header_window_color = "white" -volume_color = "white" -state_line_color = "black" -state_flags_color = "cyan" -main_window_color = "white" -color1 = "white" -color2 = "black" -main_window_highlight_color = "white" -progressbar_color = "white" -statusbar_color = "white" -alternative_ui_separator_color = "black" -active_column_color = "cyan" -window_border_color = "blue" -active_window_border = "cyan" - - +now_playing_prefix = "$b$8›$9 " +now_playing_suffix = "$/b" # -## ============================================= -## visualisation =============================== -## +browser_playlist_prefix = "($6playlist$9) " +# +selected_item_prefix = "$6" +selected_item_suffix = "$9" +# +## colors are not supported for below variable +# +#song_window_title_format = "{%a - }{%t}|{%f}" +# }}} -visualizer_fifo_path = "/tmp/mpd.fifo" -visualizer_output_name = "FIFO Visual" -visualizer_sync_interval = "30" -visualizer_in_stereo = "no" -visualizer_type = "spectrum" # (spectrum/wave) -visualizer_color = "cyan" -visualizer_look = "◆▋" +##### columns settings ##### +# {{{ +song_columns_list_format = "(30)[black]{a:who ?} (40)[white]{t|f:what ?}" +# }}} +##### various settings ##### +# {{{ +#execute_on_song_change = "" +# +playlist_display_mode = "classic" # (classic/columns) +browser_display_mode = "classic" # (classic/columns) +# +discard_colors_if_item_is_selected = "yes" # -## ============================================= -## other settings ============================== -## -## -## Note: Custom command that will be executed each -## time song changes. Useful for notifications etc. -## -## Attention: It doesn't support song format anymore. -## Use `ncmpcpp --now-playing SONG_FORMAT` instead. -## - -startup_screen = "10" -# execute_on_song_change = "" -playlist_show_remaining_time = "yes" -playlist_display_mode = "columns" (classic/columns) -browser_display_mode = "classic" (classic/columns) -#search_engine_display_mode = "classic" (classic/columns) #incremental_seeking = "yes" -#seek_time = "1" -#autocenter_mode = "no" -centered_cursor = "yes" -progressbar_look = "─╼·" # ".·" -#default_place_to_search_in = "database" (database/playlist) -user_interface = "alternative" (classic/alternative) -# media_library_left_column = "a" (possible values: a,y,g,c,p, legend above) -default_find_mode = "wrapped" (wrapped/normal) -default_space_mode = "add" (add/select) -#default_tag_editor_left_col = "albums" (albums/dirs) -#default_tag_editor_pattern = "%n - %t" -header_visibility = "yes" -statusbar_visibility = "yes" -header_text_scrolling = "yes" -fancy_scrolling = "yes" -cyclic_scrolling = "yes" -#lines_scrolled = "2" +# +seek_time = "5" +# +# progressbar_look = "─╼" +# progressbar_look = "██░" +progressbar_look = "━─" +# +user_interface = "classic" # (classic/alternative) +# +default_space_mode = "add" # (add/select) +# +header_visibility = "no" +statusbar_visibility = "no" +#titles_visibility = "no" +# follow_now_playing_lyrics = "yes" +fetch_lyrics_for_current_song_in_background = "no" +store_lyrics_in_song_dir = "no" +# ncmpc_like_songs_adding = "yes" # (enabled - add/remove, disabled - always add) -show_hidden_files_in_local_browser = "no" -jump_to_now_playing_song_at_start = "yes" -ask_before_clearing_main_playlist = "yes" -clock_display_seconds = "no" -display_bitrate = "no" -display_remaining_time = "yes" -regular_expressions = "extended" (basic/extended) - -## -## Note: If below is enabled, ncmpcpp will ignore leading -## "The" word while sorting items in browser, tags in -## media library, etc. -## +# +#show_hidden_files_in_local_browser = "no" +# +display_screens_numbers_on_start = "no" +# +## - "previous" - switch between current and last used screen +## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens. +#screen_switcher_mode = "sequence: 2 -> 3" +# +locked_screen_width_part = "50" +ask_for_locked_screen_width_part = "yes" +# +#startup_screen = "2" +# +clock_display_seconds = "yes" +# +regular_expressions = "extended" # (basic/extended) +# ignore_leading_the = "yes" -#block_search_constraints_change_if_items_found = "yes" -mouse_support = "yes" -#mouse_list_scroll_whole_page = "yes" -empty_tag_marker = "/none\\" -#tag_editor_extended_numeration = "no" -enable_window_title = "no" - -##### lyrics support ##### -## -## supported lyrics databases: -## -## - 1 - lyricsplugin.com -## -#lyrics_database = "1" +# +mouse_support = "no" +# +empty_tag_marker = "<none>" +# +allow_physical_files_deletion = "yes" +allow_physical_directories_deletion = "no" external_editor = "vim" -use_console_editor = "yes" # (set to yes, if your editor is console app) +use_console_editor = "vim" # (set to yes, if your editor is console app) +# }}} + +##### colors definitions ##### +# {{{ +colors_enabled = "yes" +empty_tag_color = "black" +header_window_color = "default" +volume_color = "cyan" +state_line_color = "white" +state_flags_color = "default" +main_window_color = "white" +color1 = "cyan" +color2 = "black" +main_window_highlight_color = "cyan" +progressbar_color = "white" +statusbar_color = "white" +alternative_ui_separator_color = "black" +active_column_color = "red" +visualizer_color = "white" +window_border_color = "green" +active_window_border = "red" +# }}} + +# vim :set fdm=marker tw=72: