dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit c28365efa4756890083e398f97a90e6cbb6d4da9
parent e9077c176782fb152cfeeeab20011a1792c7792f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 26 Feb 2019 17:59:05 +0100

Fix launch of surf sessions

Diffstat:
Mlinks/bin/surf-open.sh | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/links/bin/surf-open.sh b/links/bin/surf-open.sh @@ -3,14 +3,14 @@ # See the LICENSE file for copyright and license details. # +#prefix="" #prefix="torsocks" prefix="firejail --profile=/etc/firejail/firefox.profile" xidfile="/tmp/tabbed-surf-$(whoami).xid" uri="" runtabbed() { - echo tabbed -dn tabbed-surf -r 2 $prefix surf -e '' "$uri" \ - >"$xidfile" 2>/dev/null & + tabbed -dn tabbed-surf -r 2 >"$xidfile" 2>/dev/null & } if [ "$#" -gt 0 ]; then @@ -29,7 +29,6 @@ else xprop -id "$xid" >/dev/null 2>&1 if [ $? -gt 0 ]; then runtabbed - else - $prefix surf -e "$xid" "$uri" >/dev/null 2>&1 & fi fi +$prefix surf -e "$xid" "$uri" >/dev/null 2>&1 &