diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-29 17:35:27 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-29 17:35:27 +0100 |
commit | f45d92e6678f9468bce50af6176bdd746a1c4085 (patch) | |
tree | a3572ac80a8e46691acf8717a8a96cb2170a1482 /config.h | |
parent | cpyout ported for FreeBSD (diff) | |
download | st-f45d92e6678f9468bce50af6176bdd746a1c4085.tar.gz st-f45d92e6678f9468bce50af6176bdd746a1c4085.tar.bz2 st-f45d92e6678f9468bce50af6176bdd746a1c4085.tar.xz st-f45d92e6678f9468bce50af6176bdd746a1c4085.tar.zst st-f45d92e6678f9468bce50af6176bdd746a1c4085.zip |
Fix
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ static MouseShortcut mshortcuts[] = { #define TERMMOD (ControlMask|ShiftMask) static char *cpyurlcmd[] = { "/bin/sh", "-c", - "tmp=$(sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https|gopher|gemini|ftp|ftps|git)://|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", + "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 *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 }; |