23 lines
595 B
Markdown
23 lines
595 B
Markdown
# 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
|