stylix: escape spaces in wallpaper path (#317)

This commit is contained in:
Daniel Thwaites 2024-04-01 14:50:57 +01:00 committed by GitHub
parent 3c6b34fbc2
commit a0bdd9c15b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ let
paletteJSON = let
generatedJSON = pkgs.runCommand "palette.json" { } ''
${palette-generator}/bin/palette-generator ${cfg.polarity} ${cfg.image} $out
${palette-generator}/bin/palette-generator ${cfg.polarity} ${lib.escapeShellArg cfg.image} $out
'';
palette = importJSON generatedJSON;
scheme = base16.mkSchemeAttrs palette;