arch-maride-flavour/flavours/unsplash.flavour/install.sh
2017-08-10 18:24:51 +02:00

6 lines
262 B
Bash
Executable File

#!/bin/sh
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