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:
Robert Morrison 2021-09-14 15:49:43 +01:00
parent 7adbe9b765
commit ffa32a57e0
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -375,7 +375,7 @@ static MouseShortcut maltshortcuts[] = {
#if EXTERNALPIPE_PATCH // example command
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 };
#endif // EXTERNALPIPE_PATCH