From cb675e878e9a15a3b5328416f792b33cae678ea3 Mon Sep 17 00:00:00 2001 From: maride Date: Mon, 4 Sep 2017 22:07:17 +0200 Subject: [PATCH] Add more themes/categories to unsplash flavour --- flavours/unsplash.flavour/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flavours/unsplash.flavour/install.sh b/flavours/unsplash.flavour/install.sh index 08a2b23..482bec7 100755 --- a/flavours/unsplash.flavour/install.sh +++ b/flavours/unsplash.flavour/install.sh @@ -4,7 +4,7 @@ echo "~> Grabbing a random image from unsplash.com..." mkdir -p /mnt/etc/wallpapers/ -for tag in {forest,ocean,sky}; do +for tag in {forest,ocean,sky,snow,architecture,technology}; 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 done