6 lines
262 B
Bash
Executable File
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
|