stylix: do not escape spaces in wallpaper path (#329)

Addresses: https://github.com/danth/stylix/issues/324
Reverts: a0bdd9c15b
This commit is contained in:
NAHO 2024-04-03 16:26:12 +02:00 committed by GitHub
parent b6dbe9ac5d
commit f9b9bc7c8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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