From 128b7a8bf843aed75bddff83bfcba31bf948752b Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 22 Oct 2024 11:39:18 +0100 Subject: [PATCH] add the keywords --- unsplash_generator.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsplash_generator.sh b/unsplash_generator.sh index 1244325..c8f272e 100755 --- a/unsplash_generator.sh +++ b/unsplash_generator.sh @@ -11,8 +11,7 @@ PWD=$(dirname $(readlink -f $0)) # here are some other ways of downloading wallpaper #get random photo -url=$(curl https://api.unsplash.com/photos/random\?client_id\=sqNEPALHnwDAScQe7uA-l_1HDYH_XCHgCg3xLha47fA | jq -r '.urls.raw') - +url=$(curl https://api.unsplash.com/photos/random\?client_id\=sqNEPALHnwDAScQe7uA-l_1HDYH_XCHgCg3xLha47fA\&count\=1\&query\="tree,stars,nature,sea,weather"| jq -r '.urls.raw') #download the file wget -O $PWD/wallpaper.jpg $url