From ffa32a57e0a59d6205709fabf2b65fd5cc32b1e6 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Tue, 14 Sep 2021 15:49:43 +0100 Subject: [PATCH] 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 --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 1625eb8..e87508c 100644 --- a/config.def.h +++ b/config.def.h @@ -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