Add another bunch of unsplash tags
This commit is contained in:
parent
140bb273d9
commit
97e0f92e77
@ -4,7 +4,7 @@ echo "~> Grabbing a random image from unsplash.com..."
|
|||||||
|
|
||||||
mkdir -p /mnt/etc/wallpapers/
|
mkdir -p /mnt/etc/wallpapers/
|
||||||
|
|
||||||
for tag in {forest,ocean,sky,snow,architecture,technology}; do
|
for tag in {forest,ocean,sky,snow,architecture,technology,stars,hills,nature,fields,trees,night}; do
|
||||||
wget $(curl https://unsplash.com/search/photos/$tag | grep -oE 'content="http://images.unsplash.com/photo-([a-zA-Z0-9_\\-]*)' | sed -e 's/content="//g' | shuf -n 1) -O /mnt/etc/wallpapers/$tag-$(uuidgen).jpg
|
wget $(curl https://unsplash.com/search/photos/$tag | grep -oE 'content="http://images.unsplash.com/photo-([a-zA-Z0-9_\\-]*)' | sed -e 's/content="//g' | shuf -n 1) -O /mnt/etc/wallpapers/$tag-$(uuidgen).jpg
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user