commit aec5be14e4a5456f2808b73c91952b5728f69120
parent 1dec8383b8115f4b44d29c6bce9854a019b65f2f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 Mar 2019 19:58:24 +0100
Disown browser sessions
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/links/bin/surf-open.sh b/links/bin/surf-open.sh
@@ -11,10 +11,12 @@ uri=""
runtabbed() {
echo "starting tabbed"
tabbed -dn tabbed-surf -r 2 >"$xidfile" 2>/dev/null &
+ disown
sleep 0.1
}
opensurf() {
$prefix surf -e "$xid" "$uri" >/dev/null 2>&1 &
+ disown
}
[ ! -r "$xidfile" ] && runtabbed