home/{mpd,ncmpcpp}: setup visualizer
This commit is contained in:
parent
8568505299
commit
b57028ef20
@ -332,12 +332,12 @@
|
||||
window_border_color = "green";
|
||||
active_window_border = "red";
|
||||
|
||||
# visualizer_fifo_path = "/tmp/mpd.fifo";
|
||||
# visualizer_output_name = "my_fifo";
|
||||
# visualizer_sync_interval = "30";
|
||||
# visualizer_in_stereo = "no";
|
||||
# visualizer_type = "spectrum"; # spectrum, ellipse, wave_filled, wave
|
||||
# visualizer_look = "+█"; # wave | spectrum, ellipse, wave_filled
|
||||
visualizer_fifo_path = "/tmp/mpd.fifo";
|
||||
visualizer_output_name = "Visualizer feed";
|
||||
visualizer_sync_interval = "30";
|
||||
visualizer_in_stereo = "no";
|
||||
visualizer_type = "spectrum"; # spectrum, ellipse, wave_filled, wave
|
||||
visualizer_look = "+█"; # wave | spectrum, ellipse, wave_filled
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -4,6 +4,22 @@
|
||||
enable = true;
|
||||
musicDirectory = config.xdg.userDirs.music;
|
||||
playlistDirectory = "${musicDirectory}/playlists/MPD";
|
||||
network.startWhenNeeded = true;
|
||||
|
||||
# TODO: make the path specific to the user unit
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "Visualizer feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "PulseAudio"
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user