Move zsh config to better location, disable polkit, add back playerctl and mpris in mpc's place

This commit is contained in:
Bun 2025-03-28 19:06:24 -04:00
parent aded6c206e
commit 9e3678d190
23 changed files with 85 additions and 87 deletions

View file

@ -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"; }
];
};
}