Add an usage example of dplumb in the README. - plumb - Open certain URL patterns with an ad-hoc opener (plumber)
(HTM) hg clone https://bitbucket.org/iamleot/plumb
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset 82cafe4afa51598b941e2670de499c9c256ea3be
(DIR) parent 43d2c08e673a3340cae71c4fe153fff272484406
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Mon, 26 Mar 2018 09:48:09
Add an usage example of dplumb in the README.
Diffstat:
README | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff -r 43d2c08e673a -r 82cafe4afa51 README
--- a/README Mon Mar 26 09:40:13 2018 +0200
+++ b/README Mon Mar 26 09:48:09 2018 +0200
@@ -24,4 +24,17 @@
dplumb uses dmenu to filter and show all URLs passed via the stdin
-and then open them via plumb.
+and then open them via plumb, e.g.:
+
+ % cat << EOF | dplumb ~
+ ... doi:10.1145/361604.361612
+ ... https://tools.suckless.org/dmenu/
+ ... http://www.example.org/
+ ... EOF
+ [... opens dmenu with 3 lines, in the following order: ...]
+ [... ...]
+ [... 1. doi of `Computer programming as an art' by Donald E. Knuth ...]
+ [... 2. https://tools.suckless.org/dmenu/ ...]
+ [... 3. http://www.example.org/ ...]
+ [... ...]
+ [... If an entry is seleted plumb will be invoked accordingly. ...]