X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf-open.sh;h=c22edc28643b69f19a279587bb1784534780ddc2;hp=29036f8062f1cfeca852d200a9d31ef0594e33ec;hb=3c2c0a65250e1415124603cb8d91bff4a657d46a;hpb=e7b36f693f184427c51be59e98c5f1bb5904e806 diff --git a/surf-open.sh b/surf-open.sh index 29036f8..c22edc2 100755 --- a/surf-open.sh +++ b/surf-open.sh @@ -21,12 +21,12 @@ then runtabbed else xid=$(cat "$xidfile") - xprop -id "$xid" 2>&1 >/dev/null + xprop -id "$xid" >/dev/null 2>&1 if [ $? -gt 0 ]; then runtabbed else - surf -e "$xid" "$uri" 2>&1 >/dev/null & + surf -e "$xid" "$uri" >/dev/null 2>&1 & fi fi