diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-06 08:25:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 08:25:49 -0400 |
commit | 35506b44adf9176062f2cc51bcfd54ac79246744 (patch) | |
tree | b29277f129acea541e79e8fdbe6a85225fb589db | |
parent | 36eb185897b2e058b298191582d478dca7b2b864 (diff) | |
parent | 8844764bc7ba9eb7219ae158aaf575cd7d93a504 (diff) |
Merge pull request #68 from kajzersoze/master
include links with & in URLs
-rw-r--r-- | config.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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[] = { |