summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-12 20:07:37 +0200
committerAki <please@ignore.pl>2020-08-12 20:07:37 +0200
commit4910f79dd2553af5ed83a2c46f5e42f99424ac59 (patch)
tree8a73d88abecf19eca84005f3fbda171361491cac
parent8270e34b81197be8f7168eecf929634e38dcaa29 (diff)
downloadbrowse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.zip
browse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.tar.gz
browse-4910f79dd2553af5ed83a2c46f5e42f99424ac59.tar.bz2
Added dmenu_browse, an example wrapper for browse
-rw-r--r--README4
-rw-r--r--bookmarks3
-rwxr-xr-xdmenu_browse4
3 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index 26edb57..72d86b6 100644
--- a/README
+++ b/README
@@ -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