Adds cmus config

This commit is contained in:
Abhay Rana 2015-07-16 19:20:10 +05:30
parent 61b3a3955b
commit deec36bb4b
5 changed files with 158 additions and 0 deletions

5
files/cmus/.cmus/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
autosave
cache
command-history
search-history
*.pl

View File

@ -0,0 +1,53 @@
# Reference: https://github.com/prakhar1989/Gems
# 81 - blue
# 208 - orange
# 184 - green
# 23[456] - grey
# 255 - white
# command line
set color_cmdline_bg=234
set color_cmdline_fg=255
# error, info and separator
set color_error=81
set color_info=81
set color_separator=234
# status line (time, volume etc display)
set color_statusline_bg=235
set color_statusline_fg=208
# title : song title, album etc
set color_titleline_bg=235
set color_titleline_fg=184
# main bg and fg color
set color_win_bg=234
set color_win_fg=255
# fg of playing item / album in all views
set color_win_cur=184
# fg in "Add to Library(5) view"
set color_win_dir=81
# top of the window (Artist/Album Track...)
set color_win_title_bg=235
set color_win_title_fg=81
# current selection
set color_win_sel_bg=208
set color_win_sel_fg=235
# current inactive selection
set color_win_inactive_cur_sel_bg=236
set color_win_inactive_cur_sel_fg=208
# cursor on current selection
set color_win_cur_sel_bg=236
set color_win_cur_sel_fg=184
set color_win_inactive_sel_bg=236
set color_win_inactive_sel_fg=208

View File

@ -0,0 +1,65 @@
# Another Green Theme for cmus
#
# Change this to a red or blue theme by doing the following in vim:
#
# :%s/lightgreen/light<color>/g
# :%s/green/<color>/g
#
# - roobert@gmail.com
# Directory colors
set color_win_dir=default
# Normal text
set color_win_fg=default
# Window background color.
set color_win_bg=default
# Command line color.
set color_cmdline_bg=default
set color_cmdline_fg=default
# Color of error messages displayed on the command line.
set color_error=lightred
# Color of informational messages displayed on the command line.
set color_info=lightgreen
# Color of currently playing track.
set color_win_cur=lightgreen
# Color of the separator line between windows in view (1).
set color_separator=black
# Color of window titles (topmost line of the screen).
set color_win_title_bg=default
set color_win_title_fg=green
# Status line color.
set color_statusline_bg=default
set color_statusline_fg=gray
# Color of the line displaying currently playing track.
set color_titleline_bg=default
set color_titleline_fg=green
# Color of the selected row which is also the currently playing track in active window.
set color_win_cur_sel_bg=default
set color_win_cur_sel_fg=white
# Color of the selected row which is also the currently playing track in inactive window.
set color_win_inactive_cur_sel_bg=default
set color_win_inactive_cur_sel_fg=lightgreen
# Color of selected row in inactive window.
set color_win_inactive_sel_bg=default
set color_win_inactive_sel_fg=default
# Color of selected row in active window.
set color_win_sel_bg=default
set color_win_sel_fg=green
# Command line color.
set color_cmdline_bg=default
set color_cmdline_fg=default

32
files/cmus/.cmus/rc Normal file
View File

@ -0,0 +1,32 @@
fset 90s=date>=1990&date<2000
fset classical=genre="Classical"
fset country=genre="Country"
fset electronic=genre="Electronic"|genre="House"|genre="Electro"|genre="Trance"|genre="Dance"|genre="Pop"|artist="Avicii"
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
fset symphonic=genre="Symphonic"|genre="Classical"
fset unheard=play_count=0
factivate
fset electronic=genre="Electronic"|genre="House"|genre="Electro"|genre="Trance"|genre="Dance"|genre="Pop"|artist="Avicii"
fset symphonic=genre="Symphonic"|genre="Classical"
fset country=genre="Country"
set follow=true
set resume=true
set format_current= %a > %l > %02n. %t%= %g | %y
set format_playlist= %-25%a %-30l %n. %t%= %y %d
set format_title=%a - %t
set format_trackwin=%4n. %t%= %d
set format_trackwin_album= %{?y?%y%{?date!=maxdate?-%{maxdate}} - }%l
set format_treewin= %{?y?%y%{?date!=maxdate?-%{maxdate}} - }%l
set format_treewin_artist=%a
set mouse=true
bind -f common mlb_click_selected win-activate
bind -f common mouse_scroll_down win-down
bind -f common mouse_scroll_up win-up
set lib_sort=albumartist album discnumber tracknumber title filename

3
files/cmus/.cmus/resume Normal file
View File

@ -0,0 +1,3 @@
status stopped
view tree
browser-dir /home/nemo