aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-03-12 10:55:47 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-13 23:35:48 +0100
commit49f58adda429c54225d79d13bfad7a054ae29db2 (patch)
tree316fb8eaa0b4c6dd32f610847db58473730ea8d4 /lib
parent6ea08564041640a4d3552a9934e4317b1086fa9b (diff)
downloadaerc-49f58adda429c54225d79d13bfad7a054ae29db2.tar.gz
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 <contact@kchibisov.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/open.go4
1 files changed, 0 insertions, 4 deletions
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 {