[feature] visualization for ncmpcpp

This commit is contained in:
Klesh Wong 2020-09-22 18:42:13 +08:00
parent 7d5c18e177
commit 2853998f22
2 changed files with 22 additions and 11 deletions

View File

@ -202,16 +202,16 @@ input {
# autodetection for one sound card.
#
# An example of an ALSA output:
#
#audio_output {
# type "alsa"
# name "My ALSA Device"
## device "hw:0,0" # optional
## mixer_type "hardware" # optional
## mixer_device "default" # optional
## mixer_control "PCM" # optional
## mixer_index "0" # optional
#}
audio_output {
type "alsa"
name "My ALSA Device"
# device "hw:0,0" # optional
# mixer_type "hardware" # optional
# mixer_device "default" # optional
# mixer_control "PCM" # optional
# mixer_index "0" # optional
}
#
# An example of an OSS output:
#
@ -338,7 +338,13 @@ input {
# name "My Null Output"
# mixer_type "none" # optional
#}
#
audio_output {
type "fifo"
name "FIFO"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
###############################################################################

View File

@ -21,6 +21,11 @@ lnsf $DIR/config/mpv/scripts/organize.lua $XDG_CONFIG_HOME/mpv/scripts/organize.
lnsf $DIR/config/ncmpcpp/bindings $XDG_CONFIG_HOME/ncmpcpp/bindings
lnsf $DIR/config/ncmpcpp/config $XDG_CONFIG_HOME/ncmpcpp/config
# prevent system-wide mpd
sudo systemctl disable mpd
sudo systemctl stop mpd
mkdir -p $HOME/.mpd/playlists
# enable for current user
systemctl --user enable mpd
systemctl --user start mpd