commit 3d945176d727098bdf2d6a775e0abd8f018614b1 parent 0c8624f3e26420b38bb363409f20e76c11d37e5a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 4 Mar 2019 15:02:38 +0100 Fix open of new tabbed and surf session Diffstat:
M | links/bin/surf-open.sh | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/links/bin/surf-open.sh b/links/bin/surf-open.sh @@ -24,11 +24,11 @@ fi if [ ! -r "$xidfile" ]; then runtabbed -else - xid=$(cat "$xidfile") - xprop -id "$xid" >/dev/null 2>&1 - if [ $? -gt 0 ]; then - runtabbed - fi +fi + +xid=$(cat "$xidfile") +xprop -id "$xid" >/dev/null 2>&1 +if [ $? -gt 0 ]; then + runtabbed fi $prefix surf -e "$xid" "$uri" >/dev/null 2>&1 &