commit 5b4140843690531e21f1793fdd449c99c3fbf598 parent b569dd1f0404a73d486c0e1f57877800c447082f Author: hhvn <dev@haydenvh.com> Date: Sun, 7 Mar 2021 01:46:14 +0000 .scripts/bin/urlhand: always have option for tabbed Diffstat:
M | .scripts/bin/urlhand | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.scripts/bin/urlhand b/.scripts/bin/urlhand @@ -12,7 +12,8 @@ mpv --pause popupmpv youtube-dl --add-metadata -ic youtube-dl --add-metadata -xic -$(xprop -id $(cat /tmp/tabbed.xid) >/dev/null && echo "surf -e $(cat /tmp/tabbed.xid)" || echo ">/tmp/tabbed.xid tabbed -cr2 surf -e ''") +$(xprop -id $(cat /tmp/tabbed.xid) >/dev/null && echo "surf -e $(cat /tmp/tabbed.xid)") +>/tmp/tabbed.xid tabbed -cr2 surf -e '' toxclip netimg netpdf @@ -25,7 +26,8 @@ torsocks mpv --pause torsocks popupmpv torsocks youtube-dl --add-metadata -ic torsocks youtube-dl --add-metadata -xic -torsocks $(xprop -id $(cat /tmp/tabbed.xid) >/dev/null && echo "surf -e $(cat /tmp/tabbed.xid)" || echo ">/tmp/tabbed.xid tabbed -cr2 surf -e ''") +torsocks $(xprop -id $(cat /tmp/tabbed.xid) >/dev/null && echo "surf -e $(cat /tmp/tabbed.xid)") +torsocks >/tmp/tabbed.xid tabbed -cr2 surf -e '' torsocks netimg torsocks netpdf torsocks popupcurl