diff options
author | lassulus <lassulus@lassul.us> | 2017-07-28 18:41:46 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-28 18:41:46 +0200 |
commit | f83fc4ba4b2ac2f6300e115133d6db1e871b7ca3 (patch) | |
tree | d871da2a2086201f37370b7a6263623c50a30024 /krebs/3modules | |
parent | 4c47e18ae27b57d4967bdf632fd21b981ed28137 (diff) |
krebs fetchWallpaper: implement cond-file robuster
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/fetchWallpaper.nix | 2 |
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 ''; |