diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-29 22:12:26 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-29 22:12:26 +0100 |
commit | 96421b9dbfab026330a820db46bcfc9d5e3e1ddc (patch) | |
tree | ed4bf9951817faacb0de2937164dc6d1f5ba80e8 | |
parent | Removed need for urlview (diff) | |
download | st-96421b9dbfab026330a820db46bcfc9d5e3e1ddc.tar.gz st-96421b9dbfab026330a820db46bcfc9d5e3e1ddc.tar.bz2 st-96421b9dbfab026330a820db46bcfc9d5e3e1ddc.tar.xz st-96421b9dbfab026330a820db46bcfc9d5e3e1ddc.tar.zst st-96421b9dbfab026330a820db46bcfc9d5e3e1ddc.zip |
update
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", - "/usr/local/bin/st -e 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)\"", + "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 }; |