From 181f08d5aa2740c14defc504e6f2878bd09cdca9 Mon Sep 17 00:00:00 2001 From: NRK Date: Tue, 28 Sep 2021 18:29:46 +0600 Subject: [PATCH] dmenu: add README --- extra/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extra/README.md diff --git a/extra/README.md b/extra/README.md new file mode 100644 index 0000000..eba6ce9 --- /dev/null +++ b/extra/README.md @@ -0,0 +1,20 @@ +# sxbm-dmenu + +This is a small example dmenu wrapper around sxbm. Feel free to customize/tweak +it to your needs. + +By default `sxbm_dmenu` takes the exact same arguments as `sxbm ls`. Invoking +`sxbm_dmenu` without any argument will list out all the bookmarks in your +`$prompt` (dmenu by default) and will open that link via `sxbm open`. + +To list matching titles: `sxbm_dmenu title` +To list matching tags: `sxbm_dmenu +tag` + +* Additional arguments: `sxbm_dmenu` takes two additional arguments. + + * `-y` or `--yank` will copy the selected link to your clipboard + (requires `xclip`) instead of opening them. Example: `sxbm_dmenu -y title` + + * `-a` or `--add` is an alias to `sxbm add`. + Example: `sxbm_dmenu -a link.com +tag` +