Move zsh config to better location, disable polkit, add back playerctl and mpris in mpc's place
This commit is contained in:
parent
aded6c206e
commit
9e3678d190
23 changed files with 85 additions and 87 deletions
|
@ -1,22 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config = lib.mkIf config.home.desktop.enable {
|
||||
home.packages = with pkgs; [ mpc-cli ];
|
||||
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
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"; }
|
||||
];
|
||||
programs.ncmpcpp = {
|
||||
enable = config.services.mpd.enable;
|
||||
settings = {
|
||||
browser_sort_mode = "name";
|
||||
user_interface = "alternative";
|
||||
};
|
||||
|
||||
services.mpd-discord-rpc.enable = true;
|
||||
bindings = [
|
||||
{ key = "h"; command = "volume_down"; }
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "l"; command = "volume_up"; }
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue