sx-open/README.md
fbt beae2098fb duh
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-29 10:10:08 +03:00

595 B

sx-open

sx-open is an attempt to implement a saner alternative to xdg-open.

Installation

Clone the repo, drop sx-open.cfg into your $HOME/.config and set it up to do what you want. There are no built-in defaults, it's all in the config. As this thing is meant to replace xdg-open, you will probably want to link sx-open into xdg-open somewhere in your $PATH as to override the default one.

Usage

sx-open [-dhv] <uri/file>
Flags:
  -d   Dry run
  -v   Verbose
  -h   Help

Exit codes

  • 1 — action failed
  • 2 — file not found
  • 3 — no handlers found