replacing mpd and ncmpcpp with moc - dotfiles - These are my dotfiles. There are many like it, but these are mine.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit cf98cf5f581c96e3dce1d99171c97fac07024c4a
 (DIR) parent b22a7dcaf3d383db66e5e978846214539fa417c4
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Sat,  7 Jan 2023 21:35:44 +0000
       
       replacing mpd and ncmpcpp with moc
       
       Diffstat:
         M .gitignore                          |      10 ++++------
         M README                              |       2 +-
         M ashrc                               |       2 +-
         M bootstrap.sh                        |       2 +-
         A moc/config                          |       8 ++++++++
         A moc/themes/black_orange             |      42 +++++++++++++++++++++++++++++++
         D mpd/mpd.conf                        |      21 ---------------------
         D ncmpcpp/config                      |      31 -------------------------------
       
       8 files changed, 57 insertions(+), 61 deletions(-)
       ---
 (DIR) diff --git a/.gitignore b/.gitignore
       @@ -1,9 +1,7 @@
       -# mpd
       -mpd/playlists/
       -mpd/mpd.db
       -mpd/mpdstate
       -mpd/mpd.pid
       -ncmpcpp/error.log
       +# moc
       +moc/*
       +!moc/config
       +!moc/themes*
        
        # qutebrowser leftovers
        qutebrowser/qsettings/
 (DIR) diff --git a/README b/README
       @@ -17,7 +17,7 @@ all, the closest I come is using IRC.
          email          : mutt / fdm
          browser        : qutebrowser
          video          : mpv
       -  music          : mpd / ncmpcpp
       +  music          : moc
          gaming         : scummvm
          password mgt   : pass
          vpn            : mullvad
 (DIR) diff --git a/ashrc b/ashrc
       @@ -35,7 +35,7 @@ alias rm='rm -i'
        # random alias
        alias yt-mp3='youtube-dl --extract-audio --audio-format mp3'
        alias t='wtwitch'
       -alias m='mocp'
       +alias m='mocp -O MOCDir="$XDG_CONFIG_HOME"/moc'
        alias weather='curl wttr.in/?1QF'
        
        # git alias
 (DIR) diff --git a/bootstrap.sh b/bootstrap.sh
       @@ -4,7 +4,7 @@ DOTFILES=$(pwd)
        
        FILES='ashrc castgetrc profile vimrc'
        ROOT='bin'
       -CONFIG='fdm foot git mpd mutt ncmpcpp qutebrowser sfeed senpai sway'
       +CONFIG='fdm foot git moc mutt qutebrowser sfeed senpai sway'
        
        link() {
                for f in $FILES; do ln -sfn "$DOTFILES/$f" "$HOME/.$f"; done
 (DIR) diff --git a/moc/config b/moc/config
       @@ -0,0 +1,8 @@
       +MusicDir        = "/home/jay/media/music"
       +Sort                = FileName
       +Shuffle                = yes
       +AutoNext        = yes
       +Theme                = black_orange
       +ReadTags        = no
       +ShowTime         = no
       +TagsCacheSize         = 0
 (DIR) diff --git a/moc/themes/black_orange b/moc/themes/black_orange
       @@ -0,0 +1,42 @@
       +##############################################################################
       +#
       +# here's my theme for the great moc.
       +# it's black/orange (on xterm it's black/yellow :-)
       +#
       +##############################################################################
       +
       +background           = white   black
       +frame                = yellow  black
       +window_title         = white   black
       +directory            = white   black  bold
       +selected_directory   = black   yellow
       +playlist             = white   black
       +selected_playlist    = black   yellow
       +file                 = white   black
       +selected_file        = black   yellow
       +marked_file          = yellow  black
       +marked_selected_file = yellow  black  bold,reverse
       +info                 = yellow  black
       +selected_info        = yellow  black  bold
       +marked_info          = yellow  black  bold
       +marked_selected_info = yellow  black  bold,reverse
       +status               = white   black
       +title                = yellow  black
       +state                = yellow  black
       +current_time         = white   black  bold
       +time_left            = white   black  bold
       +total_time           = white   black  bold
       +time_total_frames    = white   black
       +sound_parameters     = white   black  bold
       +legend               = white   black
       +disabled             = black   black  bold
       +enabled              = white   black  bold
       +empty_mixer_bar      = white   black
       +filled_mixer_bar     = black   yellow
       +empty_time_bar       = white   black
       +filled_time_bar      = white   yellow
       +entry                = white   black
       +entry_title          = yellow  black  bold
       +error                = yellow  black  bold
       +message              = yellow  black  bold
       +plist_time           = white   black
 (DIR) diff --git a/mpd/mpd.conf b/mpd/mpd.conf
       @@ -1,21 +0,0 @@
       -music_directory                "/home/jay/media/music"
       -playlist_directory         "/home/jay/.config/mpd/playlists"
       -db_file                 "/home/jay/.config/mpd/mpd.db"
       -log_file                   "syslog"
       -pid_file                 "/home/jay/.config/mpd/mpd.pid"
       -state_file                 "/home/jay/.config/mpd/mpdstate"
       -
       -audio_output {
       -        type            "pipewire"
       -        name            "PipeWire Sound Server"
       -}
       -
       -audio_output {
       -    type                    "fifo"
       -    name                    "my_fifo"
       -    path                    "/tmp/mpd.fifo"
       -    format                  "44100:16:2"
       -}
       -
       -bind_to_address "127.0.0.1"
       -port "6600"
 (DIR) diff --git a/ncmpcpp/config b/ncmpcpp/config
       @@ -1,31 +0,0 @@
       -# visual stuff for 8
       -visualizer_data_source = /tmp/mpd.fifo
       -visualizer_output_name = my_fifo
       -visualizer_in_stereo = no
       -visualizer_type = spectrum
       -visualizer_look = ∙▋
       -visualizer_color = 7,5,8,3
       -song_columns_list_format = "(50)[green]{a} (50)[white]{t|f}"
       -
       -playlist_display_mode = columns
       -browser_display_mode = columns
       -
       -ncmpcpp_directory = ~/.config/ncmpcpp
       -lyrics_directory = /tmp
       -store_lyrics_in_song_dir = yes
       -autocenter_mode = "yes"
       -centered_cursor = "yes"
       -cyclic_scrolling = "no"
       -
       -titles_visibility = "no"
       -header_visibility = "no"
       -statusbar_visibility = "no"
       -progressbar_look = "❙❙❙"
       -progressbar_color = "white"
       -
       -user_interface = "classic"
       -
       -startup_screen = playlist
       -startup_slave_screen = visualizer
       -startup_slave_screen_focus = no
       -locked_screen_width_part = 35