summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-04-27 01:31:26 +0200
committerlassulus <lass@aidsballs.de>2016-04-27 01:31:26 +0200
commit558eede973a0c14e93daa695e2d9a595091d14e4 (patch)
tree190c1767ac7b0aa821db243e09149cef2f181231
parente2683844b48cfc1c2e37bc5c3cb116d6782eb593 (diff)
k 3 fetchWallpaper: use writeDash
-rw-r--r--krebs/3modules/fetchWallpaper.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/krebs/3modules/fetchWallpaper.nix b/krebs/3modules/fetchWallpaper.nix
index 53fe0839d..e6bb06a95 100644
--- a/krebs/3modules/fetchWallpaper.nix
+++ b/krebs/3modules/fetchWallpaper.nix
@@ -40,9 +40,7 @@ let
};
};
- fetchWallpaperScript = pkgs.writeScript "fetchWallpaper" ''
- #! ${pkgs.bash}/bin/bash
-
+ fetchWallpaperScript = pkgs.writeDash "fetchWallpaper" ''
mkdir -p ${shell.escape cfg.stateDir}
curl -s -o ${shell.escape cfg.stateDir}/wallpaper -z ${shell.escape cfg.stateDir}/wallpaper ${shell.escape cfg.url}
feh --no-fehbg --bg-scale ${shell.escape cfg.stateDir}/wallpaper