summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--url.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/url.c b/url.c
index a398778..b62baba 100644
--- a/url.c
+++ b/url.c
@@ -24,9 +24,19 @@
 #include "chat.h"
 
 static const char *Schemes[] = {
-	"https:",
-	"http:",
+	"cvs:",
 	"ftp:",
+	"git:",
+	"http:",
+	"https:",
+	"irc:",
+	"ircs:",
+	"magnet:",
+	"sftp:",
+	"ssh:",
+	"svn:",
+	"telnet:",
+	"vnc:",
 };
 static const size_t SchemesLen = sizeof(Schemes) / sizeof(Schemes[0]);
 
@@ -81,8 +91,7 @@ void urlOpenMatch(struct Tag tag, const char *substr) {
 		struct Entry entry = ringEntry(i);
 		if (!entry.url || entry.tag != tag.id) continue;
 		if (!strstr(entry.url, substr)) continue;
-		char *argv[] = { "open", entry.url, NULL };
-		eventPipe(argv);
+		eventPipe((char *[]) { "open", entry.url, NULL });
 		break;
 	}
 }
e/.config/cwm/cwmrc?id=15c361e449de20b0c07d74e764d0ced5eb1308a1&follow=1'>Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe