nixos-config/modules/home/programs/terminal/ncmpcpp/default.nix

16 lines
401 B
Nix

{ config, lib, pkgs, ... }:
{
programs.ncmpcpp = {
enable = config.services.mpd.enable;
settings = {
browser_sort_mode = "name";
user_interface = "alternative";
};
bindings = [
{ key = "h"; command = "volume_down"; }
{ key = "j"; command = "scroll_down"; }
{ key = "k"; command = "scroll_up"; }
{ key = "l"; command = "volume_up"; }
];
};
}