code overhaul

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-07-27 06:32:29 +03:00
parent 6afb99d1ce
commit b10611f5ae
3 changed files with 126 additions and 36 deletions

View File

@@ -1,14 +1,12 @@
#!syntax bash
# Configuration file for sx-open
# Note that as sx-open checks the regexes in order, they should be placed in order from specific to less so.
# Format: type cmd regex
uri_handlers=(
'steam=^steam://.+'
'javaws=.+kvm.+?\.cgi$'
'browser=^https?://.+'
)
# Examples:
mime_handlers=(
'sxiv=image/.+'
)
#uri browser '^https?:'
#uri steam '^steam:'
# vim: syntax=sh
#mime sxiv '^image/'
#mime libreoffice '^application/msword$'