mirror of
https://github.com/danth/stylix
synced 2024-11-24 21:23:24 +00:00
cava: dont cast numeric settings entries to string
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
9e389c695a
commit
be64ab37de
1 changed files with 2 additions and 2 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue