From 49f58adda429c54225d79d13bfad7a054ae29db2 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sun, 12 Mar 2023 10:55:47 +0100 Subject: openers: add mime type handling for open-link Provide a way to configure link openers. Based on the URL mime type: x-scheme-handler/$scheme. Signed-off-by: Kirill Chibisov Signed-off-by: Robin Jarry Tested-by: Bence Ferdinandy --- lib/open.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/open.go b/lib/open.go index 8477b8f1..0af51d1c 100644 --- a/lib/open.go +++ b/lib/open.go @@ -10,10 +10,6 @@ import ( "git.sr.ht/~rjarry/aerc/log" ) -func XDGOpen(uri string) error { - return XDGOpenMime(uri, "", nil) -} - func XDGOpenMime( uri string, mimeType string, args []string, ) error { -- cgit