aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 13:35:37 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 13:35:37 +0100
commite28016d1615309a82ab2e755a66e98cd2c45e5c8 (patch)
tree553e06bdc35ab1e980e0615831f78a0cb06b26e8
parentFix (diff)
downloadst-e28016d1615309a82ab2e755a66e98cd2c45e5c8.tar.gz
st-e28016d1615309a82ab2e755a66e98cd2c45e5c8.tar.bz2
st-e28016d1615309a82ab2e755a66e98cd2c45e5c8.tar.xz
st-e28016d1615309a82ab2e755a66e98cd2c45e5c8.tar.zst
st-e28016d1615309a82ab2e755a66e98cd2c45e5c8.zip
Update
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index ab56958..754fc00 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 -m 0 | tr -d '\n' | xclip -selection clipboard",
"externalpipe", NULL };
static char *linkviewcmd[] = { "/bin/sh", "-c",
- "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 -m 0 | tr -d '\n' | cat)",
+ "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 -m 0 | 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 };