diff --git a/docs/src/tricks.md b/docs/src/tricks.md index 66c90af2..aef9bae0 100644 --- a/docs/src/tricks.md +++ b/docs/src/tricks.md @@ -33,8 +33,7 @@ Similarly, you can use a template image and repaint it for the current theme. let theme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml"; wallpaper = pkgs.runCommand "image.png" {} '' - COLOR=$(${pkgs.yq}/bin/yq -r .base00 ${theme}) - COLOR="#"$COLOR + COLOR=$(${pkgs.yq}/bin/yq -r .palette.base00 ${theme}) ${pkgs.imagemagick}/bin/magick -size 1920x1080 xc:$COLOR $out ''; in {