commit a06b676d1e1d0a71dcbfdc7601849b3a9d38bbcb parent bd593bfd5546a39e1e2d3bcf921f19af497565fa Author: Xiaodong Xu <[email protected]> Date: Sun May 20 12:35:27 +0800 Add cmus configuration Diffstat:
.cmus/autosave | | | 141 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
.cmus/darkcourses.theme | | | 23 | +++++++++++++++++++++++ |
diff --git a/.cmus/autosave b/.cmus/autosave @@ -0,0 +1,141 @@ +set aaa_mode=artist +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=gray +set color_error=lightred +set color_info=lightcyan +set color_separator=darkgray +set color_statusline_bg=black +set color_statusline_fg=gray +set color_titleline_bg=black +set color_titleline_fg=249 +set color_win_bg=default +set color_win_cur=white +set color_win_cur_sel_bg=white +set color_win_cur_sel_fg=232 +set color_win_dir=242 +set color_win_fg=gray +set color_win_inactive_cur_sel_bg=default +set color_win_inactive_cur_sel_fg=white +set color_win_inactive_sel_bg=default +set color_win_inactive_sel_fg=gray +set color_win_sel_bg=yellow +set color_win_sel_fg=black +set color_win_title_bg=default +set color_win_title_fg=239 +set confirm_run=true +set continue=true +set display_artist_sort_name=false +set dsp.alsa.device=default +set format_current= %a - %t%= %l (%y) +set format_playlist= %-5%d %-45%t %a - %l (%y) %= +set format_playlist_va= %-5%d %-45%t %a - %l (%y) %= +set format_title=cmus +set format_trackwin=%3n. %t %= %d +set format_trackwin_va=%3n. %t %= %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 output_plugin=alsa +set passwd= +set pl_sort= +set play_library=true +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=false +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=cmusfm +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 = 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 F1 view tree +bind common F2 view sorted +bind common F3 view playlist +bind common F4 view queue +bind common F5 view browser +bind common F6 view filters +bind common F7 view settings +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<enter> 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/darkcourses.theme b/.cmus/darkcourses.theme @@ -0,0 +1,23 @@ +set color_cmdline_bg=default +set color_cmdline_fg=gray +set color_error=lightred +set color_info=lightcyan +set color_separator=darkgray +set color_statusline_bg=black +set color_statusline_fg=gray +set color_titleline_bg=black +set color_titleline_fg=249 +set color_win_bg=default +set color_win_cur=white +set color_win_cur_sel_bg=white +set color_win_cur_sel_fg=232 +set color_win_dir=242 +set color_win_fg=gray +set color_win_inactive_cur_sel_bg=default +set color_win_inactive_cur_sel_fg=white +set color_win_inactive_sel_bg=default +set color_win_inactive_sel_fg=gray +set color_win_sel_bg=yellow +set color_win_sel_fg=black +set color_win_title_bg=default +set color_win_title_fg=239