treewide: remove redundant stylix.image escaping and string coercion
Remove redundant shell escaping and string coercion as stylix.image is guaranteed to be a stringified store path with a valid string context and no special characters. Fixes:3499e3ec70("treewide: properly quote stylix.image when used as a shell argument") (cherry picked from commit61c9f4dd14)
This commit is contained in:
parent
261d44273b
commit
c1a01c591f
2 changed files with 2 additions and 4 deletions
|
|
@ -11,9 +11,7 @@ mkTarget {
|
|||
(
|
||||
{ cfg, image }:
|
||||
{
|
||||
programs.hyprlock.settings.background.path = lib.mkIf cfg.useWallpaper "${
|
||||
image
|
||||
}";
|
||||
programs.hyprlock.settings.background.path = lib.mkIf cfg.useWallpaper image;
|
||||
}
|
||||
)
|
||||
(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ mkTarget {
|
|||
{ image }:
|
||||
{
|
||||
services.hyprpaper.settings = {
|
||||
preload = [ "${image}" ];
|
||||
preload = [ image ];
|
||||
wallpaper = [ ",${image}" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue