mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: playing around with mpd and rmpc
This commit is contained in:
parent
8a06bb05fe
commit
e63236cfcc
5 changed files with 101 additions and 122 deletions
17
modules/home/cli/fun/mpd/default.nix
Normal file → Executable file
17
modules/home/cli/fun/mpd/default.nix
Normal file → Executable file
|
|
@ -6,6 +6,10 @@
|
|||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "PulseAudio"
|
||||
}
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "my_fifo"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
|
|
@ -18,11 +22,20 @@
|
|||
format = {
|
||||
hosts = [ "localhost:6600" ];
|
||||
details = "$title";
|
||||
state = "$artist";
|
||||
state = "🥒💦$artist";
|
||||
display_type = "state";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.cava.enable = true;
|
||||
|
||||
programs.cava = {
|
||||
enable = true;
|
||||
settings = {
|
||||
input = {
|
||||
method = "fifo";
|
||||
source = "/tmp/mpd.fifo";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue