Migrate cmus configuration
This is now also maintained here. It no longer starts with class and can't be detected by i3.
This commit is contained in:
parent
72e61bb85c
commit
940690646b
3
home.nix
3
home.nix
|
@ -74,6 +74,9 @@
|
||||||
"phpactor/phpactor.yml".source = ./home/files/phpactor.yml;
|
"phpactor/phpactor.yml".source = ./home/files/phpactor.yml;
|
||||||
"tig/config".source = ./home/files/tig;
|
"tig/config".source = ./home/files/tig;
|
||||||
|
|
||||||
|
"cmus/smyckblue.theme".source = ./home/files/cmus/smyckblue.theme;
|
||||||
|
"cmus/rc".source = ./home/files/cmus/rc;
|
||||||
|
|
||||||
"i3/config".source = ./home/files/i3;
|
"i3/config".source = ./home/files/i3;
|
||||||
"i3blocks/config".source = ./home/files/i3-blocks;
|
"i3blocks/config".source = ./home/files/i3-blocks;
|
||||||
};
|
};
|
||||||
|
|
87
home/files/cmus/rc
Normal file
87
home/files/cmus/rc
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
set aaa_mode=all
|
||||||
|
set altformat_current= %F
|
||||||
|
set altformat_playlist= %f%= %d
|
||||||
|
set altformat_title=%f
|
||||||
|
set altformat_trackwin= %f%= %d
|
||||||
|
set auto_expand_albums_follow=true
|
||||||
|
set auto_expand_albums_search=true
|
||||||
|
set auto_expand_albums_selcur=true
|
||||||
|
set auto_reshuffle=true
|
||||||
|
set buffer_seconds=10
|
||||||
|
set confirm_run=true
|
||||||
|
set continue=true
|
||||||
|
set continue_album=true
|
||||||
|
set device=/dev/cdrom
|
||||||
|
set display_artist_sort_name=false
|
||||||
|
set dsp.alsa.device=
|
||||||
|
set follow=true
|
||||||
|
set format_current= %a - %l -%3n. %t%= %y
|
||||||
|
set format_playlist= %-10%a %3n. %t %= %-10%l %-5%g %y %d %{?X!=0?%3X ? }
|
||||||
|
set format_playlist_va= %-21%A %3n. %t (%a)%= %y %d %{?X!=0?%3X ? }
|
||||||
|
set format_statusline= %{status} %{?show_playback_position?%{position} %{?duration?/ %{duration} }?%{?duration?%{duration} }}- %{total} %{?bpm>0?at %{bpm} BPM }%{?volume>=0?vol: %{?lvolume!=rvolume?%{lvolume},%{rvolume} ?%{volume} }}%{?stream?buf: %{buffer} }%{?show_current_bitrate & bitrate>=0? %{bitrate} kbps }%=%{?repeat_current?repeat current?%{?play_library?%{playlist_mode} from %{?play_sorted?sorted }library?playlist}} | %1{continue}%1{follow}%1{repeat}%1{shuffle}
|
||||||
|
set format_title=%a - %l - %t (%y)
|
||||||
|
set format_trackwin=%3n. %t%=%X %d %g %y
|
||||||
|
set format_trackwin_album= %l %= %g %y
|
||||||
|
set format_trackwin_va=%3n. %t (%a)%= %y %d
|
||||||
|
set format_treewin= %l
|
||||||
|
set format_treewin_artist=%a
|
||||||
|
set icecast_default_charset=ISO-8859-1
|
||||||
|
set id3_default_charset=ISO-8859-1
|
||||||
|
set input.cdio.cddb_url=freedb.freedb.org:8880
|
||||||
|
set input.cdio.priority=50
|
||||||
|
set input.cue.priority=50
|
||||||
|
set input.ffmpeg.priority=30
|
||||||
|
set input.flac.priority=50
|
||||||
|
set input.mad.priority=55
|
||||||
|
set input.mikmod.priority=40
|
||||||
|
set input.modplug.priority=50
|
||||||
|
set input.mpc.priority=50
|
||||||
|
set input.opus.priority=50
|
||||||
|
set input.vorbis.priority=50
|
||||||
|
set input.wav.priority=50
|
||||||
|
set input.wavpack.priority=50
|
||||||
|
set lib_add_filter=
|
||||||
|
set lib_sort=albumartist date album discnumber tracknumber title filename play_count
|
||||||
|
set mixer.alsa.channel=
|
||||||
|
set mixer.alsa.device=
|
||||||
|
set mixer.pulse.restore_volume=1
|
||||||
|
set mouse=false
|
||||||
|
set mpris=true
|
||||||
|
set output_plugin=pulse
|
||||||
|
set passwd=
|
||||||
|
set pl_sort=
|
||||||
|
set play_library=true
|
||||||
|
set play_sorted=true
|
||||||
|
set repeat=true
|
||||||
|
set repeat_current=false
|
||||||
|
set replaygain=disabled
|
||||||
|
set replaygain_limit=true
|
||||||
|
set replaygain_preamp=0.000000
|
||||||
|
set resume=false
|
||||||
|
set rewind_offset=5
|
||||||
|
set scroll_offset=2
|
||||||
|
set set_term_title=true
|
||||||
|
set show_all_tracks=true
|
||||||
|
set show_current_bitrate=false
|
||||||
|
set show_hidden=false
|
||||||
|
set show_playback_position=true
|
||||||
|
set show_remaining_time=false
|
||||||
|
set shuffle=false
|
||||||
|
set skip_track_info=false
|
||||||
|
set smart_artist_sort=true
|
||||||
|
set softvol=false
|
||||||
|
set softvol_state=0 0
|
||||||
|
set start_view=tree
|
||||||
|
set status_display_program=
|
||||||
|
set stop_after_queue=false
|
||||||
|
set time_show_leading_zero=true
|
||||||
|
set tree_width_max=0
|
||||||
|
set tree_width_percent=33
|
||||||
|
set wrap_search=true
|
||||||
|
fset missing-tag=!stream&(artist=""|album=""|title=""|tracknumber=-1|date=-1)
|
||||||
|
fset nonbook=genre!="Audiobook"&!stream
|
||||||
|
fset rock=genre="*Rock*"
|
||||||
|
fset unheard=play_count=0
|
||||||
|
factivate
|
||||||
|
|
||||||
|
colorscheme smyckblue
|
33
home/files/cmus/smyckblue.theme
Normal file
33
home/files/cmus/smyckblue.theme
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
set color_cmdline_attr=default
|
||||||
|
set color_cmdline_bg=default
|
||||||
|
set color_cmdline_fg=default
|
||||||
|
set color_cur_sel_attr=default
|
||||||
|
set color_error=lightred
|
||||||
|
set color_info=lightyellow
|
||||||
|
set color_separator=blue
|
||||||
|
set color_statusline_attr=default
|
||||||
|
set color_statusline_bg=gray
|
||||||
|
set color_statusline_fg=black
|
||||||
|
set color_titleline_attr=default
|
||||||
|
set color_titleline_bg=blue
|
||||||
|
set color_titleline_fg=white
|
||||||
|
set color_win_attr=default
|
||||||
|
set color_win_bg=default
|
||||||
|
set color_win_cur=white
|
||||||
|
set color_win_cur_sel_attr=default
|
||||||
|
set color_win_cur_sel_bg=blue
|
||||||
|
set color_win_cur_sel_fg=black
|
||||||
|
set color_win_dir=lightblue
|
||||||
|
set color_win_fg=default
|
||||||
|
set color_win_inactive_cur_sel_attr=default
|
||||||
|
set color_win_inactive_cur_sel_bg=lightblue
|
||||||
|
set color_win_inactive_cur_sel_fg=black
|
||||||
|
set color_win_inactive_sel_attr=default
|
||||||
|
set color_win_inactive_sel_bg=gray
|
||||||
|
set color_win_inactive_sel_fg=black
|
||||||
|
set color_win_sel_attr=default
|
||||||
|
set color_win_sel_bg=blue
|
||||||
|
set color_win_sel_fg=white
|
||||||
|
set color_win_title_attr=default
|
||||||
|
set color_win_title_bg=blue
|
||||||
|
set color_win_title_fg=white
|
|
@ -130,14 +130,11 @@ assign [class="^jitsi-.*$"] 3:💬
|
||||||
|
|
||||||
assign [class="^Thunderbird$"] 4:✉️
|
assign [class="^Thunderbird$"] 4:✉️
|
||||||
|
|
||||||
assign [class="^cmus$"] 5:🎵
|
|
||||||
assign [class="^vlc$"] 5:🎵
|
assign [class="^vlc$"] 5:🎵
|
||||||
for_window [class="^vlc$"] border none
|
for_window [class="^vlc$"] border none
|
||||||
assign [class="^Pavucontrol$"] 5:🎵
|
assign [class="^Pavucontrol$"] 5:🎵
|
||||||
assign [class="^Audacity$"] 5:🎵
|
assign [class="^Audacity$"] 5:🎵
|
||||||
assign [class="^gplay-music$"] 5:🎵
|
assign [class="^gplay-music$"] 5:🎵
|
||||||
# assign [class=".*spotify.*"] 5:🎵
|
|
||||||
# assign [title=".*Spotify Free.*"] 5:🎵
|
|
||||||
|
|
||||||
# TODO: Use some more specific, to only fetch testing instances?
|
# TODO: Use some more specific, to only fetch testing instances?
|
||||||
assign [class="^Chromium-browser$"] 8
|
assign [class="^Chromium-browser$"] 8
|
||||||
|
|
Loading…
Reference in a new issue