summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@inventati.org>2020-03-16 04:04:27 +0530
committerAndinus <andinus@inventati.org>2020-03-16 04:04:27 +0530
commit0d2a426ccec1243dccc5e27f789847dbea68b96d (patch)
treeaf28f2907bb3339dd3b9ff8739d0e315a6e9aa5a
parente3141d6452fe2e63d25ecc47df9c19a1479750c0 (diff)
downloadcetus-0d2a426ccec1243dccc5e27f789847dbea68b96d.tar.gz
Add cetus-wallhaven to readme
-rw-r--r--README.org34
1 files changed, 34 insertions, 0 deletions
diff --git a/README.org b/README.org
index 9acced6..f559a97 100644
--- a/README.org
+++ b/README.org
@@ -94,6 +94,40 @@ cetus-nasa -dump
 # don't set background, just fetch & don't output anything
 cetus-nasa -quiet -fetch-only # why would anyone do this?
 #+END_SRC
+* Wallhaven
+cetus-wallhaven uses Wallhaven's API to get random background.
+
+** Features
+- set random image as background
+- fetch information
+** Examples
+#+BEGIN_SRC sh
+# set a random image as background
+cetus-wallhaven
+
+# same as above
+cetus-wallhaven -random
+
+# change api endpoint & api key
+cetus-wallhaven -api https://wallhaven.cc/api/v1/search \
+           -api-key
+
+# don't set background, just fetch information
+cetus-wallhaven -fetch-only
+
+# don't set background, just fetch & print only the path (useful in
+# scripts)
+cetus-wallhaven -fetch-only -path-only
+
+# don't output anything
+cetus-wallhaven -quiet
+
+# dump received response
+cetus-wallhaven -dump
+
+# don't set background, just fetch & don't output anything
+cetus-wallhaven -quiet -fetch-only # why would anyone do this?
+#+END_SRC
 * Demo
 I just run some cetus commands on my computer, nothing fancy. I'll make better
 demo videos someday.