Re-add cava (music visualiser)

This commit is contained in:
Evie Litherland-Smith 2024-09-24 07:33:18 +01:00
parent f0cc8f366b
commit a1a9c771bb
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ config, ... }:
{
programs.cava = {
enable = true;
settings = {
color = with config.lib.stylix.colors.withHashtag; {
gradient = 1;
gradient_count = 6;
gradient_color_1 = "'${red}'";
gradient_color_2 = "'${yellow}'";
gradient_color_3 = "'${green}'";
gradient_color_4 = "'${cyan}'";
gradient_color_5 = "'${blue}'";
gradient_color_6 = "'${magenta}'";
};
};
};
}

View file

@ -9,6 +9,7 @@
./git.nix
./ssh.nix
./starship.nix
./cava.nix
];
home = {
packages = with pkgs; [