8 lines
297 B
Bash
Executable File
8 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "~> Grabbing a random image from unsplash.com..."
|
|
|
|
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
|