blob: 6c697ef9654e0641f649de6e421b651df09b25b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#+title: =ncmpcpp= Configuration
Enable =vi=-like controls and specify directories and =mpd= address.
#+begin_src nix
{ config, pkgs, ... }:
{
programs.ncmpcpp = {
enable = true;
bindings = [
{ key = "j"; command = "scroll_down"; }
{ key = "k"; command = "scroll_up"; }
{ key = "h"; command = "previous_column"; }
{ key = "l"; command = "next_column"; }
{ key = "g"; command = "move_home"; }
{ key = "G"; command = "move_end"; }
{ key = "n"; command = "next_found_item"; }
{ key = "N"; command = "previous_found_item"; }
];
mpdMusicDir = "/Volumes/Media/Music";
settings = {
ncmpcpp_directory = "~/.config/nmcpcpp";
mpd_host = "localhost";
mpd_port = "6600";
};
};
}
#+end_src
|