feat: setup colors for cava with home-manager options
This commit is contained in:
parent
de77d456cf
commit
c8e6eba1a6
1 changed files with 16 additions and 1 deletions
|
|
@ -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}'";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue