xdg_open_ng/README.md

10 lines
649 B
Markdown

# xd-open-ng
An `xdg-open` replacement that uses Syndicate and PCRE pattern matching to open URIs.
There are two utilites, `uri_runner` and `xdg-open`; both expect to be able to connect to a shared Syndicate dataspace via a UNIX socket at `$SYNDICATE_SOCK` otherwise `$XDG_RUNTIME_DIR/dataspace`. The `xdg-open` component has no other configuration. The `uri_runner` component is intended to be managed by the [Syndicate server](https://git.syndicate-lang.org/syndicate-lang/syndicate-rs) thru which it receives configuration, see [uri_runner.pr](./uri_runner.pr) as an example.
## TODO
- Pattern back-references in commands
- Fallback commands?