#!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. # macros: # %target% — The first argument to this script. # If not found, target is appended to the end of # example: #uri 'browser %target% --profile=work' '^https://.+\.?workdomain.tld.*' # scheme [ ...] #scheme browser http https #scheme steam steam # Or you can specify a regex for the entire uri: # uri [ ...] #uri steam '^steam:' #uri browser '^(https?|ftp):' # Mime types for filesystem targets: # mime [ ...] #mime sxiv '^image/' #mime libreoffice '^application/msword$'