From 77d02a8337bf70d3d86f9366ae6f79b006459adc Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 17 Mar 2022 14:51:52 -0500 Subject: [PATCH] Add unix socket to configuration example --- uri_runner.pr | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/uri_runner.pr b/uri_runner.pr index a07e033..0bf5736 100644 --- a/uri_runner.pr +++ b/uri_runner.pr @@ -1,10 +1,13 @@ +; Expose a dataspace over a unix socket +let ?root_ds = dataspace + $gatekeeper>> + + > ? ?cap> [ @@ -12,6 +15,6 @@ ["gemini://.*|file:///.*.gmi", ["/run/current-system/sw/bin/kristall" "\\1"]] ["http://.*|https://.*|.*html", ["/run/current-system/sw/bin/firefox" "\\1"]] ["tox:.*|uri:tox:.*", ["/run/current-system/sw/bin/qtox" "\\1"]] - [".*mkv", ["/run/current-system/sw/bin/mpv" "\\1"]] + [".*\\.avi|.*\\.mp4|.*mkv", ["/run/current-system/sw/bin/mpv" "\\1"]] ] } > ]