diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..b82cffb --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,52 @@ +# Recommended location for database +db_file "~/.config/mpd/database" + +# If running mpd using systemd, delete this line to log directly to systemd. +log_file "syslog" + +# The music directory is by default the XDG directory, uncomment to amend and choose a different directory +#music_directory "~/music" + +# Uncomment to refresh the database whenever files in the music_directory are changed +#auto_update "yes" + +# Uncomment to enable the functionalities +#playlist_directory "~/.config/mpd/playlists" +#pid_file "~/.config/mpd/pid" +#state_file "~/.config/mpd/state" +#sticker_file "~/.config/mpd/sticker.sql" + +audio_output { + type "pulse" + name "My pulse Device" + device "hw:0,0" # optional + format "44100:16:2" # optional + mixer_device "default" # optional + mixer_control "PCM" # optional + mixer_index "0" # optional +} +audio_output { + type "pulse" + name "MPD" +# server "remote_server" # optional +# sink "remote_server_sink" # optional +} +audio_output { +type "pulse" +name "My pulse EQ" +auto_resample "no" +use_mmap "yes" +device "plug:plugequal" +format "44100:16:2" # optional +mixer_device "default" # optional +mixer_control "PCM" # optional +mixer_index "0" # optional +} +mixer_type "software" + +audio_output { +type "fifo" +name "FIFO" +path "/tmp/mpd.fifo" +format "44100:16:2" +} diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config new file mode 100644 index 0000000..91ef249 --- /dev/null +++ b/.config/ncmpcpp/config @@ -0,0 +1,27 @@ +mpd_music_dir = "~/Music/" +ncmpcpp_directory = "~/.config/ncmpcpp" +lyrics_directory = "~/.config/ncmpcpp/lyrics" +#execute_on_song_change = "~/.ncmpcpp/songchange.sh" + +## Unsupported mouse ## +mouse_support = "yes" +mouse_list_scroll_whole_page = "yes" + +## Navigation ## +cyclic_scrolling = "yes" +header_text_scrolling = "yes" +jump_to_now_playing_song_at_start = "yes" +lines_scrolled = "2" + +## Other ## +system_encoding = "utf-8" +regular_expressions = "extended" + +## +## Appearance +## Other ## +now_playing_prefix = "❥ " +progressbar_look = "───" +colors_enabled = "yes" +autocenter_mode = "yes" +centered_cursor = "yes" diff --git a/makefile b/makefile index 57b1548..b924ff5 100644 --- a/makefile +++ b/makefile @@ -30,3 +30,10 @@ setup_nvim: setup_vimwiki1 setup_vimwiki2 setup_vimwiki3 echo "configuring nvim" mkdir -p ~/.config/nvim ln -s -f ~/dotfiles/.config/nvim/init.vim ~/.config/nvim/init.vim + +setup_music: + mkdir -p ~/.config/mpd/playlists/ + mkdir -p ~/.mpd + ln -s -f ~/dotfiles/.config/mpd/mpd.conf ~/.config/mpd/mpd.conf + mkdir -p ~/.config/ncmpcpp/ + ln -s -f ~/dotfiles/.config/ncmpcpp/config ~/.config/ncmpcpp/config diff --git a/ubuntu.md b/ubuntu.md index ae9deae..c2ec2fc 100644 --- a/ubuntu.md +++ b/ubuntu.md @@ -11,4 +11,14 @@ sudo apt install make sudo apt install curl sudo apt install ffmpeg sudo apt install zsh # install oh-my-zsh to set zsh as default shell + +# music setup +sudo apt-get install mpd +sudo apt-get install ncmpcpp +``` + +## Snap Apps + +``` +sudo snap install yt-dlp ```