Allow specifying rules to perform arbitrary actions in kitty when opening URLs

This commit is contained in:
Kovid Goyal
2020-09-18 15:01:25 +05:30
parent be1ff61e4a
commit 0d6bca3e5d
5 changed files with 250 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ from .config import ( # noqa; noqa
)
EdgeLiteral = Literal['left', 'top', 'right', 'bottom']
MatchType = Literal['mime', 'ext', 'protocol', 'file', 'path', 'url', 'has_fragment']
GRT_a = Literal['t', 'T', 'q', 'p', 'd']
GRT_f = Literal[24, 32, 100]
GRT_t = Literal['d', 'f', 't', 's']