diff options
author | Aki <please@ignore.pl> | 2020-08-12 20:07:37 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-12 20:07:37 +0200 |
commit | 4910f79dd2553af5ed83a2c46f5e42f99424ac59 (patch) | |
tree | 8a73d88abecf19eca84005f3fbda171361491cac | |
parent | 8270e34b81197be8f7168eecf929634e38dcaa29 (diff) | |
download | browse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.zip browse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.tar.gz browse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.tar.bz2 |
Added dmenu_browse, an example wrapper for browse
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | bookmarks | 3 | ||||
-rwxr-xr-x | dmenu_browse | 4 |
3 files changed, 11 insertions, 0 deletions
@@ -18,3 +18,7 @@ viewhtml https://github.com/ray2501/tclgumbo http://tkimg.sourceforge.net/ https://github.com/auriocus/tksvg + +dmenu_browse + Simple wrapper for browse utility to show an example of integrating the utilities with other tools. + diff --git a/bookmarks b/bookmarks new file mode 100644 index 0000000..df71ff4 --- /dev/null +++ b/bookmarks @@ -0,0 +1,3 @@ +https://ignore.pl/ +https://swtch.com/ + diff --git a/dmenu_browse b/dmenu_browse new file mode 100755 index 0000000..fb98e43 --- /dev/null +++ b/dmenu_browse @@ -0,0 +1,4 @@ +#!/bin/sh +if URL=$(dmenu -p "Browse:" <bookmarks); then + ./browse $URL +fi |