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