From 6103431cd2f9d4352e5493a4063cf57e307d355c Mon Sep 17 00:00:00 2001 From: Alex Friedman <41027529+ahfriedman@users.noreply.github.com> Date: Sun, 26 Jan 2025 16:28:40 -0600 Subject: [PATCH] doc: Update tricks per tinted-theming schema changes (#792) The tinted-theming repository has updated its scheme for themes such that colors are located under the key `palette` [1] and such that each color is # prefixed [2]. These changes update the documentation to reflect this new schema. [1] https://github.com/tinted-theming/schemes/commit/4caed9a8f5ec9532c28d43c511fb7799342c6271 [2] https://github.com/tinted-theming/schemes/commit/61058a8d2e2bd4482b53d57a68feb56cdb991f0b --- docs/src/tricks.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {