From 80a952882678373d20cd71e2e4974ac2604b83c1 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 21 Nov 2021 16:31:12 +0100 Subject: Fixed dmenu-filepicker when picking multiple files. Fixed opening multiple bookmarks at once in dmenu-bookmarks --- dmenu-bookmarks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dmenu-bookmarks') diff --git a/dmenu-bookmarks b/dmenu-bookmarks index 7de7040..f21849b 100755 --- a/dmenu-bookmarks +++ b/dmenu-bookmarks @@ -7,4 +7,6 @@ #dir=$XDG_DATA_HOME/bookmarks dir=$HOME/Dropbox/bookmarks # TODO: change it when I have a better sync system -cat "$(dmenu-filepicker $dir)" | xargs open-url +echo "$(dmenu-filepicker $dir)" | while read line; do + cat "$line" +done | xargs open-url -- cgit v1.3