fix url opener and make more relaxed
replace the call to open with a call to xdg-open add the -r flag to xurls to scan regardless of scheme
This commit is contained in:
parent
7adbe9b765
commit
ffa32a57e0
|
|
@ -375,7 +375,7 @@ static MouseShortcut maltshortcuts[] = {
|
||||||
|
|
||||||
#if EXTERNALPIPE_PATCH // example command
|
#if EXTERNALPIPE_PATCH // example command
|
||||||
static char *openurlcmd[] = { "/bin/sh", "-c",
|
static char *openurlcmd[] = { "/bin/sh", "-c",
|
||||||
"xurls | dmenu -l 10 -w $WINDOWID | xargs -r open",
|
"xurls -r | dmenu -l 10 -w $WINDOWID | xargs -r xdg-open",
|
||||||
"externalpipe", NULL };
|
"externalpipe", NULL };
|
||||||
#endif // EXTERNALPIPE_PATCH
|
#endif // EXTERNALPIPE_PATCH
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user