aboutsummaryrefslogtreecommitdiff
path: root/dmenu-bookmarks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdmenu-bookmarks7
1 files changed, 5 insertions, 2 deletions
diff --git a/dmenu-bookmarks b/dmenu-bookmarks
index 2088e11..2566e43 100755
--- a/dmenu-bookmarks
+++ b/dmenu-bookmarks
@@ -2,10 +2,13 @@
2 2
3# A bookmark browser based on dmenu 3# A bookmark browser based on dmenu
4 4
5# Requires: dmenu-filepicker, open-url 5# Usage: dmenu-bookmarks [picker options...]
6
7# Requires: dmenu-filepicker (or similar), open-url
6 8
7dir=$HOME/box/bookmarks 9dir=$HOME/box/bookmarks
10picker="dmenu-filepicker"
8 11
9echo "$(dmenu-filepicker $dir)" | while read line; do 12echo "$($picker "$@" $dir)" | while read line; do
10 cat "$line" 13 cat "$line"
11done | xargs open-url 14done | xargs open-url

Generated with cgit - Back to sebastiano.tronto.net