mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
urls over lines
This commit is contained in:
commit
05cc5be681
1 changed files with 1 additions and 1 deletions
2
config.h
2
config.h
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in a new issue