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")
This commit is contained in:
parent
ca1bc329e9
commit
61c9f4dd14
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;
|
||||
}
|
||||
)
|
||||
(
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ mkTarget {
|
|||
{
|
||||
services.hyprpaper.settings.wallpaper = lib.singleton {
|
||||
monitor = "";
|
||||
path = toString image;
|
||||
path = image;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue