From 50a87752abec4ccc89637928e99bdbfe5eeaf01d Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Wed, 13 Dec 2023 15:14:32 +0000 Subject: [PATCH] notify query string for unsplash --- src/util/wallpapurr.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/wallpapurr.nim b/src/util/wallpapurr.nim index a1b375f..998bf0b 100644 --- a/src/util/wallpapurr.nim +++ b/src/util/wallpapurr.nim @@ -22,7 +22,7 @@ const UNSPLASH_URL = "https://api.unsplash.com/photos/random?query=$QUERY&orient proc getFromUnsplash(q: var string): string = let dir = BG_DIR & "/unsplash/" & q & "/" createDir(dir) - notify.send("Getting from Unsplash") + notify.send("Getting from Unsplash",q) q = q.replace(" ","%20") let uri = UNSPLASH_URL.replace("$QUERY",q) var client = newHttpClient(timeout = 10000)