Add cava music visualiser with colour config
This commit is contained in:
parent
6a8967cd14
commit
6487b8312f
17
home/cava/default.nix
Normal file
17
home/cava/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{config, ...}: {
|
||||||
|
programs.cava = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
color = with config.lib.stylix.colors; {
|
||||||
|
gradient = 1;
|
||||||
|
gradient_count = 6;
|
||||||
|
gradient_color_1 = "'${withHashtag.red}'";
|
||||||
|
gradient_color_2 = "'${withHashtag.yellow}'";
|
||||||
|
gradient_color_3 = "'${withHashtag.green}'";
|
||||||
|
gradient_color_4 = "'${withHashtag.cyan}'";
|
||||||
|
gradient_color_5 = "'${withHashtag.blue}'";
|
||||||
|
gradient_color_6 = "'${withHashtag.magenta}'";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,6 +18,7 @@
|
||||||
../emacs/default.nix
|
../emacs/default.nix
|
||||||
../nyxt/default.nix
|
../nyxt/default.nix
|
||||||
../obs/default.nix
|
../obs/default.nix
|
||||||
|
../cava/default.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
candy-icons
|
candy-icons
|
||||||
|
|
Loading…
Reference in a new issue