mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
stylix: escape spaces in wallpaper path (#318)
Fixed version ofa0bdd9c15b
(#317) which was reverted inf9b9bc7c8e
(#329) Closes #330 Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
parent
c630a7d3ee
commit
406f793045
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ 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;
|
||||
|
|
Loading…
Reference in a new issue