From caafbb6c0b0550da12d656faac0ebbddab654604 Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Tue, 15 Jan 2019 23:41:31 +0100 Subject: [PATCH 1/2] send browser to backgroud --- muttrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muttrc b/muttrc index d2f5ecc..0ceb7a5 100644 --- a/muttrc +++ b/muttrc @@ -44,8 +44,8 @@ bind index \005 next-undeleted # Mouse wheel bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel macro index,pager S -macro index,pager \Cu |urlscan\n -macro index,pager ,, |urlscan\n +macro index,pager \Cu "|urlscan -r 'echo {} | parallel xargs $BROWSER'"\n +macro index,pager ,, "|urlscan -r 'echo {} | parallel xargs $BROWSER'"\n # View attachments properly. bind attach view-mailcap From c72b8e710a039e17f609f0432a3ab7d6cf48481f Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Wed, 16 Jan 2019 01:22:19 +0100 Subject: [PATCH 2/2] setsid instead of parallel --- muttrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muttrc b/muttrc index 0ceb7a5..7712942 100644 --- a/muttrc +++ b/muttrc @@ -44,8 +44,8 @@ bind index \005 next-undeleted # Mouse wheel bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel macro index,pager S -macro index,pager \Cu "|urlscan -r 'echo {} | parallel xargs $BROWSER'"\n -macro index,pager ,, "|urlscan -r 'echo {} | parallel xargs $BROWSER'"\n +macro index,pager \Cu "|urlscan -r 'echo {} | setsid xargs $BROWSER &'"\n +macro index,pager ,, "|urlscan -r 'echo {} | setsid xargs $BROWSER &'"\n # View attachments properly. bind attach view-mailcap