From 2433e04e99b38d08363644737fd8174a9b5a413a Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 2 Nov 2024 13:35:23 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(ncmpcpp):=20Install=20ncmpcpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added an overlay to enable visualizer support!!!!!! --- home/default.nix | 1 + home/ncmpcpp/default.nix | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 home/ncmpcpp/default.nix diff --git a/home/default.nix b/home/default.nix index 686e09c..3d8b6f7 100644 --- a/home/default.nix +++ b/home/default.nix @@ -41,6 +41,7 @@ ./lazygit ./less ./man + ./ncmpcpp ./syncthing ./tmux ./wget diff --git a/home/ncmpcpp/default.nix b/home/ncmpcpp/default.nix new file mode 100644 index 0000000..2d7956f --- /dev/null +++ b/home/ncmpcpp/default.nix @@ -0,0 +1,22 @@ +{...}: { + nixpkgs.overlays = [ + (final: prev: { + ncmpcpp = prev.ncmpcpp.override { + visualizerSupport = true; + }; + }) + ]; + + programs.ncmpcpp = { + enable = true; + + settings = { + visualizer_data_source = "/tmp/mpd.fifo"; + visualizer_output_name = "my_fifo"; + visualizer_in_stereo = "yes"; + visualizer_type = "spectrum"; + visualizer_look = "+|"; + visualizer_spectrum_smooth_look = "yes"; + }; + }; +}