summary refs log tree commit diff stats
path: root/README.org
diff options
context:
space:
mode:
authorAndinus <andinus@inventati.org>2020-03-15 17:13:28 +0530
committerAndinus <andinus@inventati.org>2020-03-15 17:13:28 +0530
commit16bcb7f173399c17b73469ac26d20e0d29c59e0d (patch)
treee27a1b0b3c648bd26d8aa0079f4cce060d5fda58 /README.org
parent88f7ad2ae17b9be5b55b03dd014901ed3b1bea85 (diff)
downloadcetus-16bcb7f173399c17b73469ac26d20e0d29c59e0d.tar.gz
Support Bing Photo of the Day
Diffstat (limited to 'README.org')
-rw-r--r--README.org34
1 files changed, 33 insertions, 1 deletions
diff --git a/README.org b/README.org
index b7bf2af..df511af 100644
--- a/README.org
+++ b/README.org
@@ -14,6 +14,37 @@ sources for fetching the background.
 
 *Dependency*: [[https://feh.finalrewind.org/][feh]]
 
+* Bing Photo of the Day
+cetus-bing fetches Bing Photo of the Day.
+
+** Features
+- set BPOD as background
+- fetch information on BPOD
+- choose random photo
+** Examples
+#+BEGIN_SRC sh
+# set currently BPOD as background
+cetus-bing
+
+# set photo randomly
+cetus-bing -random
+
+# change api endpoint
+cetus-bing -api https://www.bing.com/HPImageArchive.aspx
+
+# don't set background, just fetch information
+cetus-bing -fetch-only
+
+# don't set background, just fetch & print only the path (useful in
+# scripts)
+cetus-bing -fetch-only -path-only
+
+# don't output anything
+cetus-bing -quiet
+
+# don't set background, just fetch & don't output anything
+cetus-bing -quiet -fetch-only # why would anyone do this?
+#+END_SRC
 * NASA Astronomy Picture of the Day
 cetus-nasa uses NASA's API to get the Astronomy Picture of the Day.
 
@@ -82,5 +113,6 @@ tar -xzf cetus-master.tar.gz
 
 # install cetus
 cd cetus-master && \
-    go install ./cmd/cetus-nasa
+    go install ./cmd/cetus-nasa && \
+    go install ./cmd/cetus-bing
 #+END_SRC