2018-07-27 03:32:29 +00:00
|
|
|
#!syntax bash
|
2014-09-25 13:26:15 +00:00
|
|
|
# Configuration file for sx-open
|
2014-09-25 13:50:08 +00:00
|
|
|
# Note that as sx-open checks the regexes in order, they should be placed in order from specific to less so.
|
2014-09-25 13:26:15 +00:00
|
|
|
|
2018-07-27 13:49:08 +00:00
|
|
|
# scheme <cmd> <scheme>[ <scheme> ...]
|
|
|
|
#scheme browser http https
|
|
|
|
#scheme steam steam
|
2014-11-21 10:48:09 +00:00
|
|
|
|
2018-07-27 13:49:08 +00:00
|
|
|
# Or you can specify a regex for the entire uri:
|
|
|
|
# uri <cmd> <regex>[ <regex> ...]
|
2018-07-27 03:32:29 +00:00
|
|
|
#uri steam '^steam:'
|
2018-07-27 13:49:08 +00:00
|
|
|
#uri browser '^(https?|ftp):'
|
2014-09-25 13:26:15 +00:00
|
|
|
|
2018-07-27 13:49:08 +00:00
|
|
|
# Mime types for filesystem targets:
|
|
|
|
# mime <cmd> <regex>[ <regex> ...]
|
2018-07-27 03:32:29 +00:00
|
|
|
#mime sxiv '^image/'
|
|
|
|
#mime libreoffice '^application/msword$'
|