summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/fetchWallpaper.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-28 22:00:25 +0200
committermakefu <github@syntax-fehler.de>2017-07-28 22:00:25 +0200
commitdfd1b5f6bc278be615975dc619e1f9490e05ef7a (patch)
tree2991cddc8933d494a8b13124bf59540fe0124c9c /krebs/3modules/fetchWallpaper.nix
parent6919ec53cc640e0b813989012eecc58665887e19 (diff)
parent32d8c202b0ec037dcf78ebf6ecad730cfb9c5272 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/fetchWallpaper.nix')
-rw-r--r--krebs/3modules/fetchWallpaper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/fetchWallpaper.nix b/krebs/3modules/fetchWallpaper.nix
index cdb9fe70a..8d4933cb5 100644
--- a/krebs/3modules/fetchWallpaper.nix
+++ b/krebs/3modules/fetchWallpaper.nix
@@ -51,7 +51,7 @@ let
mkdir -p ${cfg.stateDir}
chmod o+rx ${cfg.stateDir}
cd ${cfg.stateDir}
- (curl --max-time ${toString cfg.maxTime} -s -o wallpaper.tmp -z wallpaper ${shell.escape cfg.url} && mv wallpaper.tmp wallpaper) || :
+ (curl --max-time ${toString cfg.maxTime} -s -o wallpaper.tmp -z wallpaper.tmp ${shell.escape cfg.url} && cp wallpaper.tmp wallpaper) || :
feh --no-fehbg --bg-scale ${shell.escape cfg.stateDir}/wallpaper
'';