Files
sx-open/sx-open.cfg
T

34 lines
945 B
INI
Raw Normal View History

2018-07-27 06:32:29 +03:00
#!syntax bash
2014-09-25 17:26:15 +04:00
# Configuration file for sx-open
2014-09-25 17:50:08 +04:00
# Note that as sx-open checks the regexes in order, they should be placed in order from specific to less so.
2018-08-01 19:59:02 +03:00
# Regexes imply '^$'
2014-09-25 17:26:15 +04:00
2018-07-27 20:03:36 +03:00
# Disable desktop notifications
#cfg notify false
# Enable verbose mode
#cfg verbose true
# Enable dry run mode (implies verbose)
#cfg dryrun true
2018-07-27 17:48:58 +03:00
# <cmd> macros:
# %target% — The first argument to this script.
# If not found, target is appended to the end of <cmd>
# example:
2018-08-01 20:20:59 +03:00
#uri 'browser %target% --profile=work' 'https://.+\.?workdomain\.tld\..*'
2018-07-27 17:48:58 +03:00
2018-07-27 16:49:08 +03:00
# scheme <cmd> <scheme>[ <scheme> ...]
#scheme browser http https
#scheme steam steam
2018-07-27 16:49:08 +03:00
# Or you can specify a regex for the entire uri:
# uri <cmd> <regex>[ <regex> ...]
2018-08-01 20:20:59 +03:00
#uri steam 'steam:.+'
#uri browser '(https?|ftp):.+'
2014-09-25 17:26:15 +04:00
2018-07-27 16:49:08 +03:00
# Mime types for filesystem targets:
# mime <cmd> <regex>[ <regex> ...]
2018-08-01 20:20:59 +03:00
#mime sxiv 'image/.+'
2018-08-01 19:59:02 +03:00
#mime libreoffice 'application/msword'