Created
September 6, 2023 19:25
-
-
Save nelsonaloysio/e23705e814b3864df7ee261b469a5f53 to your computer and use it in GitHub Desktop.
cmus: rc and spotify-modern theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cmus-spotify-modern-rc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/cmus/rc | |
# Theme | |
colorscheme spotify-modern | |
# Options | |
set continue=true | |
set format_current= %a%{?A!=a? (%A)} | %l%!%{?D>0? - Disc %D} | %{?n>0?%n. }%t%{?y>0? (%y)} %= %g | |
set format_playlist= %-15g %-15%a %-20%l %{?n>0?%3n. ? }%t%= %-8y %d %{?X!=0?%3X ? } | |
set format_playlist_va= %-15g %-15%A %-20%l %{?n>0?%3n. ? }%t %= %-8y %d %{?X!=0?%3X ? } | |
set format_statusline= [%{status}] %{?show_playback_position?%{position} %{?duration?/ %{duration}}?%{?duration?%{duration}}} %{?bpm>0?at %{bpm} BPM } %= %{?stream?buf: %{buffer} }%{?show_current_bitrate & bitrate>=0? %{bitrate} kbps }%=%{?repeat_current?repeat current?%{?play_library?%{playlist_mode} from %{?play_sorted?sorted }library?playlist}} | %{total} | %1{continue}%1{follow}%1{repeat}%1{shuffle} | %{?volume>=0?vol: %{?lvolume!=rvolume?%{lvolume},%{rvolume} ?%{volume}}} | |
set format_trackwin=%{?n>0?%3n. ? } %t%= %-6y %d | |
set format_trackwin_va=%{?n>0?%3n. ? } %t (%a)%= %-6y %d | |
set format_treewin_artist=%a | |
set display_artist_sort_name=false | |
set lib_sort=genre albumartist album discnumber tracknumber title filename play_count | |
set smart_artist_sort=false | |
# Unset keybinds | |
unbind -f common ^R | |
# Set keybinds | |
bind -f common < player-prev | |
bind -f common > player-next | |
bind -f common A toggle aaa_mode | |
bind -f common m mute | |
bind -f common R toggle repeat_current | |
bind -f common S push live-filter | |
bind -f common V invert | |
# Filters | |
fset soundtrack=genre="Soundtrack" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/cmus/spotify-modern.theme | |
set color_win_fg=252 | |
set color_win_bg=default | |
set color_cmdline_bg=default | |
set color_cmdline_fg=231 | |
set color_error=202 | |
set color_info=178 | |
#set color_info=81 | |
set color_separator=106 | |
set color_statusline_bg=default | |
set color_statusline_fg=106 | |
set color_titleline_bg=default | |
set color_titleline_fg=154 | |
set color_win_title_bg=default | |
set color_win_title_fg=154 | |
set color_win_cur=106 | |
set color_win_cur_sel_bg=235 | |
set color_win_cur_sel_fg=154 | |
set color_win_inactive_cur_sel_bg=233 | |
set color_win_inactive_cur_sel_fg=106 | |
set color_win_sel_bg=235 | |
set color_win_sel_fg=white | |
set color_win_inactive_sel_bg=233 | |
set color_win_inactive_sel_fg=255 | |
set color_win_dir=255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment