2018-07-27 03:32:29 +00:00
# sx-open
2014-09-25 13:26:15 +00:00
2014-09-27 21:49:58 +00:00
sx-open is an attempt to implement a saner alternative to xdg-open.
2014-09-25 13:26:15 +00:00
2018-07-27 03:32:29 +00:00
## Installation
2014-09-25 13:26:15 +00:00
2018-07-29 07:10:08 +00:00
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.
2014-09-25 13:26:15 +00:00
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.
2018-07-27 03:32:29 +00:00
## Usage
2018-07-27 14:50:32 +00:00
sx-open [-dhv] < uri / file >
Flags:
-d Dry run
-v Verbose
-h Help
2018-07-27 03:32:29 +00:00
### Exit codes
* 1 — action failed
* 2 — file not found
* 3 — no handlers found