krebs fetchWallpaper: allow everyone to enter dir

This commit is contained in:
lassulus 2017-07-22 23:01:39 +02:00
parent e9f318037c
commit 04dfdb5ec6

View File

@ -49,6 +49,7 @@ let
set -euf
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) || :
feh --no-fehbg --bg-scale ${shell.escape cfg.stateDir}/wallpaper