Trying to fix /home/user XS

This commit is contained in:
maride
2017-08-10 21:24:32 +02:00
parent 09e0574dba
commit 5d8275c9cf
2 changed files with 13 additions and 4 deletions

View File

@@ -2,4 +2,6 @@
echo "~> Grabbing a random image from unsplash.com..."
wget https://unsplash.com/photos/$(curl https://unsplash.com/search/photos/forest | grep -oE "photo=([a-zA-Z0-9_\\-]*)" | shuf -n 1 | sed -e "s/photo=//g")/download -o /mnt/home/*/background.jpg
mkdir -p /mnt/etc/wallpapers/
wget https://unsplash.com/photos/$(curl https://unsplash.com/search/photos/forest | grep -oE "photo=([a-zA-Z0-9_\\-]*)" | shuf -n 1 | sed -e "s/photo=//g")/download -o /mnt/etc/wallpapers/forest.jpg