feat: setup colors for cava with home-manager options

This commit is contained in:
ooks-io 2024-02-09 14:42:10 +13:00
parent de77d456cf
commit c8e6eba1a6

View file

@ -1,6 +1,7 @@
{ pkgs, config, lib, ... }:
let
inherit (config.colorscheme) colors;
cfg = config.homeModules.desktop.media.music.tui;
in
@ -11,8 +12,22 @@ in
spotify-player
ytui-music
alsa-utils
cava
];
programs.cava = {
enable = true;
settings = {
general.framerate = 60;
color = {
gradient = 1;
gradient_count = 5;
gradient_color_1 = "'#${colors.base0A}'";
gradient_color_2 = "'#${colors.base0B}'";
gradient_color_3 = "'#${colors.base0C}'";
gradient_color_4 = "'#${colors.base0D}'";
gradient_color_5 = "'#${colors.base0E}'";
};
};
};
};
}