💥 add failing music config

This commit is contained in:
dth@taiga.ai 2022-05-17 12:30:58 +02:00
parent dfc5f3499e
commit b02a6f06fe
4 changed files with 96 additions and 0 deletions

52
.config/mpd/mpd.conf Normal file
View file

@ -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"
}

27
.config/ncmpcpp/config Normal file
View file

@ -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"

View file

@ -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

View file

@ -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
```