From f1b736402851f60802fb30fb0e5261fc6baf14d5 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 26 Dec 2020 09:09:20 +0800 Subject: [PATCH] [bugfix] not working on chromium / open in order --- bin/bm | 1 + gui/pass.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/bm b/bin/bm index 2675fe5..a3e7031 100755 --- a/bin/bm +++ b/bin/bm @@ -89,6 +89,7 @@ function _open_urls if set link (string match -r $LINK_PATTERN $LINE) $BROWSER $link[3] &>/dev/null & disown + sleep 0.01 end end end diff --git a/gui/pass.sh b/gui/pass.sh index de616f2..b63b53b 100755 --- a/gui/pass.sh +++ b/gui/pass.sh @@ -39,7 +39,7 @@ exitrepo # enable browserpass for browsers cd /usr/lib/browserpass -has_cmd chromium-browser && make hosts-chromium-user +has_cmd chromium && make hosts-chromium-user has_cmd firefox && make hosts-firefox-user has_cmd google-chrome && make hosts-chrome-user cd -