Replacement for xdg-open that uses Syndicate for messaging.
Go to file
Emery Hemingway ff828678a2 Nix stuff 2022-03-17 11:22:42 -05:00
src Initial commit 2022-03-17 11:22:42 -05:00
tests Nix stuff 2022-03-17 11:22:42 -05:00
.gitignore Initial commit 2022-03-17 11:22:42 -05:00
README.md Initial commit 2022-03-17 11:22:42 -05:00
flake.lock Nix stuff 2022-03-17 11:22:42 -05:00
flake.nix Nix stuff 2022-03-17 11:22:42 -05:00
nixos-module.nix Nix stuff 2022-03-17 11:22:42 -05:00
protocol.prs Initial commit 2022-03-17 11:22:42 -05:00
uri_runner.pr Initial commit 2022-03-17 11:22:42 -05:00
xdg_open_ng.nimble Initial commit 2022-03-17 11:22:42 -05:00

README.md

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 thru which is receives configuration, see uri_runnner.pr as an example.

TODO

  • Pattern back-references in commands
  • Fallback commands?