cava: dont cast numeric settings entries to string

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
bricked 2024-11-19 13:00:15 +00:00 committed by GitHub
parent 9e389c695a
commit be64ab37de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,8 @@
let
mkGradient = colors: lib.listToAttrs (lib.imap0 (i: c: lib.nameValuePair "gradient_color_${toString (i+1)}" "'#${c}'") colors) // {
gradient = "1";
gradient_count = toString (builtins.length colors);
gradient = 1;
gradient_count = builtins.length colors;
};
rainbowColors = with config.lib.stylix.colors; [