urls over lines

This commit is contained in:
Luke Smith 2019-04-26 20:40:39 -04:00
commit 05cc5be681
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -206,7 +206,7 @@ MouseKey mkeys[] = {
};
static char *openurlcmd[] = { "/bin/sh", "-c",
"grep -aEo '(http|https)://[a-zA-Z0-9./?=_-]*' | uniq | dmenu -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 -l 10 | xargs -r xdg-open",
"externalpipe", NULL };
static Shortcut shortcuts[] = {