aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2021-01-11 15:47:11 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2021-01-11 15:47:11 +0100
commitb331ad288d8129c99d0cce7f11d3a355f5d30b26 (patch)
tree361584263c9c759b24dcf110b589c895972836fb
parentTERM update (diff)
downloadst-b331ad288d8129c99d0cce7f11d3a355f5d30b26.tar.gz
st-b331ad288d8129c99d0cce7f11d3a355f5d30b26.tar.bz2
st-b331ad288d8129c99d0cce7f11d3a355f5d30b26.tar.xz
st-b331ad288d8129c99d0cce7f11d3a355f5d30b26.tar.zst
st-b331ad288d8129c99d0cce7f11d3a355f5d30b26.zip
torified
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index b38b7fd..c972370 100644
--- a/config.h
+++ b/config.h
@@ -207,7 +207,7 @@ static char *yankurlcmd[] = { "/bin/sh", "-c",
"tmp=$(sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https|gopher|gemini|ftp|ftps|git|ssh)://|www\\.)[a-zA-Z0-9._-]*[:]?[a-zA-Z0-9./@$&%?$#=_~-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)' | uniq | sed 's/^www./http:\\/\\/www\\./g' ); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 10 | tr -d '\n' | xclip -selection clipboard",
"externalpipe", NULL };
static char *linkviewcmd[] = { "/bin/sh", "-c",
- "linkview $(tmp=$(sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https|gopher|gemini|ftp|ftps|git|ssh)://|www\\.)[a-zA-Z0-9._-]*[:]?[a-zA-Z0-9./@$&%?$#=_~-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)' | uniq | sed 's/^www./http:\\/\\/www\\./g' ); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 10 | tr -d '\n' | cat)",
+ "torify linkview $(tmp=$(sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https|gopher|gemini|ftp|ftps|git|ssh)://|www\\.)[a-zA-Z0-9._-]*[:]?[a-zA-Z0-9./@$&%?$#=_~-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)' | uniq | sed 's/^www./http:\\/\\/www\\./g' ); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 10 | tr -d '\n' | cat)",
"externalpipe", NULL };
static char *cpyoutcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout", "externalpipe", NULL };
static char *cpyoutnopcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout noprompt", "externalpipe", NULL };