diff options
Diffstat (limited to 'pkgs/profpatsch/xdg-open/types.dhall')
-rw-r--r-- | pkgs/profpatsch/xdg-open/types.dhall | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/profpatsch/xdg-open/types.dhall b/pkgs/profpatsch/xdg-open/types.dhall index b7ae944b..e878ce86 100644 --- a/pkgs/profpatsch/xdg-open/types.dhall +++ b/pkgs/profpatsch/xdg-open/types.dhall @@ -27,18 +27,13 @@ let MimeMatch = { mime : Mime, cmd : Command } -let - -- Handler of an uri glob. Mime maps the uri to a file handler. Transparent is a command which, when run, returns a mimetype of the file. - UriGlobHandler = - < Transparent : Command | Mime : MimeMatch > - let UriMimeGlob = { desc : Text , -- less specific than glob, used by firefox to refer to the schema schema-prefix : List Text , -- schema shell glob to check whether a link corresponds to the schema glob : List Text - , handler : UriGlobHandler + , handler : MimeMatch } in { Mime @@ -47,7 +42,6 @@ in { Mime , CommandTemplate , Command , Special - , UriGlobHandler , UriMimeGlob , MimeMatch } |