From 599cb37f2f7d03db03034371a00c2337e81a584b Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sat, 10 Aug 2024 19:45:31 +0100 Subject: [PATCH] home-manager/wallpaper: refactor --- home-manager/desktop/x11/wallpaper.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/desktop/x11/wallpaper.nix b/home-manager/desktop/x11/wallpaper.nix index 6ff01f51..0045bcd1 100644 --- a/home-manager/desktop/x11/wallpaper.nix +++ b/home-manager/desktop/x11/wallpaper.nix @@ -22,11 +22,11 @@ Install.WantedBy = [ "graphical-session.target" ]; Service = with config.home-manager.desktop.theme.wallpaper; { - ExecStart = lib.concatStringsSep " " [ - "${lib.getExe pkgs.feh}" + ExecStart = lib.escapeShellArgs [ + (lib.getExe pkgs.feh) "--no-fehbg" "--bg-${scale}" - "${path}" + path ]; Type = "oneshot"; };