include links with & in URLs
This commit is contained in:
parent
36eb185897
commit
8844764bc7
1 changed files with 2 additions and 2 deletions
4
config.h
4
config.h
|
@ -207,11 +207,11 @@ MouseKey mkeys[] = {
|
|||
};
|
||||
|
||||
static char *openurlcmd[] = { "/bin/sh", "-c",
|
||||
"sed 's/.*│//g' | tr -d '\n' | grep -aEo '((http|https)://|www\\.)[a-zA-Z0-9./?=_-]*' | uniq | sed 's/^www./http:\\/\\/www\\./g' | dmenu -p 'Follow which url?' -l 10 | xargs -r xdg-open",
|
||||
"sed 's/.*│//g' | tr -d '\n' | grep -aEo '((http|https)://|www\\.)[a-zA-Z0-9./&?=_-]*' | uniq | sed 's/^www./http:\\/\\/www\\./g' | dmenu -p 'Follow which url?' -l 10 | xargs -r xdg-open",
|
||||
"externalpipe", NULL };
|
||||
|
||||
static char *copyurlcmd[] = { "/bin/sh", "-c",
|
||||
"sed 's/.*│//g' | tr -d '\n' | grep -aEo '((http|https)://|www\\.)[a-zA-Z0-9./?=_-]*' | uniq | sed 's/^www./http:\\/\\/www\\./g' | dmenu -p 'Copy which url?' -l 10 | tr -d '\n' | xclip -selection clipboard",
|
||||
"sed 's/.*│//g' | tr -d '\n' | grep -aEo '((http|https)://|www\\.)[a-zA-Z0-9./&?=_-]*' | uniq | sed 's/^www./http:\\/\\/www\\./g' | dmenu -p 'Copy which url?' -l 10 | tr -d '\n' | xclip -selection clipboard",
|
||||
"externalpipe", NULL };
|
||||
|
||||
static Shortcut shortcuts[] = {
|
||||
|
|
Loading…
Reference in a new issue