This commit is contained in:
Cat /dev/Nulo 2021-09-26 21:39:40 -03:00
parent 6930c242a1
commit 80b1d1f4b6
4 changed files with 35 additions and 0 deletions

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

@ -0,0 +1,26 @@
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/database"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
log_file "syslog"
bind_to_address "~/.mpd/socket"
restore_paused "yes"
save_absolute_paths_in_playlists "yes"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. The complete list of possible values can be
# found in the user manual.
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
audio_output {
type "pulse"
name "My Pulse Output"
}
replaygain "auto"
#volume_normalization "no"

2
.config/ncmpcpp/config Normal file
View file

@ -0,0 +1,2 @@
mpd_host = /home/diablo/.mpd/socket
media_library_primary_tag = album_artist

View file

@ -14,6 +14,7 @@ riverctl spawn "syncthing -no-browser"
riverctl spawn "river-tag-overlay" riverctl spawn "river-tag-overlay"
# yambar spawned by load-colors # yambar spawned by load-colors
riverctl spawn "kanshi" riverctl spawn "kanshi"
riverctl spawn "start-mpd"
riverctl spawn 'swayidle -w \ riverctl spawn 'swayidle -w \
timeout 250 "brillo -O; brillo -S 5" resume "brillo -I" \ timeout 250 "brillo -O; brillo -S 5" resume "brillo -I" \

6
.local/bin/start-mpd Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
mkdir -p ~/.mpd
mkdir -p ~/.mpd/playlists
mpd