From 2c250e7d9399e4450aeacd2d635f5f9444df7157 Mon Sep 17 00:00:00 2001 From: Ambrevar Date: Wed, 31 Oct 2012 17:19:55 +0100 Subject: [PATCH] Cmus: using 'rc' instead of 'autosave' (less dirty, and cross-platform). --- .cmus/autosave | 145 ------------------------------------------------- .cmus/rc | 34 ++++++++++++ 2 files changed, 34 insertions(+), 145 deletions(-) delete mode 100644 .cmus/autosave create mode 100644 .cmus/rc diff --git a/.cmus/autosave b/.cmus/autosave deleted file mode 100644 index 182ede8c..00000000 --- a/.cmus/autosave +++ /dev/null @@ -1,145 +0,0 @@ -set aaa_mode=all -set altformat_current= %F -set altformat_playlist= %f%= %d -set altformat_title=%f -set altformat_trackwin= %f%= %d -set auto_reshuffle=true -set buffer_seconds=10 -set color_cmdline_bg=default -set color_cmdline_fg=default -set color_error=lightred -set color_info=lightyellow -set color_separator=blue -set color_statusline_bg=gray -set color_statusline_fg=black -set color_titleline_bg=blue -set color_titleline_fg=white -set color_win_bg=default -set color_win_cur=lightyellow -set color_win_cur_sel_bg=blue -set color_win_cur_sel_fg=lightyellow -set color_win_dir=lightblue -set color_win_fg=default -set color_win_inactive_cur_sel_bg=gray -set color_win_inactive_cur_sel_fg=lightyellow -set color_win_inactive_sel_bg=gray -set color_win_inactive_sel_fg=black -set color_win_sel_bg=blue -set color_win_sel_fg=white -set color_win_title_bg=blue -set color_win_title_fg=white -set confirm_run=true -set continue=true -set display_artist_sort_name=false -set dsp.alsa.device=default -set dsp.oss.device= -set format_current= %a - %y. %l - %n. %t -set format_playlist= %-18%a %4y. %-25%l %3n. %t%= %d -set format_playlist_va= %-18%a %-25%l %t%= %d -set format_title=%a - %y. %l - %n. %t -set format_trackwin=%4y %3n. %t%= %d [%{codec} %{bitrate} kbps] -set format_trackwin_va=%3n. %t (%a)%= %y %d -set id3_default_charset=ISO-8859-1 -set lib_sort=albumartist date album discnumber tracknumber title filename -set mixer.alsa.channel=PCM -set mixer.alsa.device=default -set mixer.oss.channel=PCM -set mixer.oss.device= -set mixer.pulse.restore_volume=1 -set output_plugin=alsa -set passwd= -set pl_sort= -set play_library=false -set play_sorted=false -set repeat=false -set repeat_current=false -set replaygain=disabled -set replaygain_limit=true -set replaygain_preamp=6.000000 -set resume=true -set set_term_title=true -set show_hidden=false -set show_remaining_time=false -set shuffle=false -set smart_artist_sort=true -set softvol=false -set softvol_state=0 0 -set status_display_program= -bind browser backspace browser-up -bind browser i toggle show_hidden -bind browser space win-activate -bind browser u win-update -bind common ! push shell -bind common + vol +10% -bind common , seek -1m -bind common - vol -10% -bind common . seek +1m -bind common 1 view tree -bind common 2 view sorted -bind common 3 view playlist -bind common 4 view queue -bind common 5 view browser -bind common 6 view filters -bind common 7 view settings -bind common = vol +10% -bind common C toggle continue -bind common D win-remove -bind common E win-add-Q -bind common F push filter -bind common G win-bottom -bind common I echo {} -bind common L push live-filter -bind common M toggle play_library -bind common N search-prev -bind common P win-mv-before -bind common [ vol +1% +0 -bind common ] vol +0 +1% -bind common ^B win-page-up -bind common ^C echo Type :quit to exit cmus. -bind common ^F win-page-down -bind common ^L refresh -bind common ^R toggle repeat_current -bind common a win-add-l -bind common b player-next -bind common c player-pause -bind common delete win-remove -bind common down win-down -bind common e win-add-q -bind common end win-bottom -bind common enter win-activate -bind common g win-top -bind common h seek -5 -bind common home win-top -bind common i win-sel-cur -bind common j win-down -bind common k win-up -bind common l seek +5 -bind common left seek -5 -bind common m toggle aaa_mode -bind common n search-next -bind common o toggle play_sorted -bind common p win-mv-after -bind common page_down win-page-down -bind common page_up win-page-up -bind common q quit -i -bind common r toggle repeat -bind common right seek +5 -bind common s toggle shuffle -bind common space win-toggle -bind common t toggle show_remaining_time -bind common tab win-next -bind common u update-cache -bind common up win-up -bind common v player-stop -bind common x player-play -bind common y win-add-p -bind common z player-prev -bind common { vol -1% -0 -bind common } vol -0 -1% -fset 90s=date>=1990&date<2000 -fset classical=genre="Classical" -fset missing-tag=!stream&(artist=""|album=""|title=""|tracknumber=-1|date=-1) -fset mp3=filename="*.mp3" -fset ogg=filename="*.ogg" -fset ogg-or-mp3=ogg|mp3 -factivate diff --git a/.cmus/rc b/.cmus/rc new file mode 100644 index 00000000..9e3f67fc --- /dev/null +++ b/.cmus/rc @@ -0,0 +1,34 @@ +set altformat_current= %F +set altformat_playlist= %f%= %d +set altformat_title=%f +set altformat_trackwin= %f%= %d +set auto_reshuffle=true +set continue=true +set format_current= %a - %y. %l - %n. %t +set format_playlist= %-18%a %4y. %-25%l %3n. %t%= %d +set format_playlist_va= %-18%a %-25%l %t%= %d +set format_title=%a - %y. %l - %n. %t +set format_trackwin=%4y %3n. %t%= %d [%{codec} %{bitrate} kbps] +set format_trackwin_va=%3n. %t (%a)%= %y %d +set lib_sort=albumartist date album discnumber tracknumber title filename +set play_library=false +set play_sorted=false +set repeat=false +set repeat_current=false +set replaygain=disabled +set replaygain_limit=true +set replaygain_preamp=6.000000 +set resume=true +set set_term_title=true +set show_hidden=false +set show_remaining_time=false +set shuffle=false +set smart_artist_sort=true +set status_display_program= +fset 90s=date>=1990&date<2000 +fset classical=genre="Classical" +fset missing-tag=!stream&(artist=""|album=""|title=""|tracknumber=-1|date=-1) +fset mp3=filename="*.mp3" +fset ogg=filename="*.ogg" +fset ogg-or-mp3=ogg|mp3 +factivate