diff options
| author | Nikita Langer <nikitalanger@icloud.com> | 2026-05-27 21:52:45 +0200 |
|---|---|---|
| committer | Nikita Langer <nikitalanger@icloud.com> | 2026-05-27 21:52:45 +0200 |
| commit | 5187e696fdafee436aced2a54524445a58ff6ada (patch) | |
| tree | 19af765e4052f682f705b5fe833406f2096982e9 /config.def.h | |
| parent | 3ad44279c69b20201cee32b742cc78094bd87c6b (diff) | |
| download | st-5187e696fdafee436aced2a54524445a58ff6ada.tar.gz st-5187e696fdafee436aced2a54524445a58ff6ada.tar.bz2 st-5187e696fdafee436aced2a54524445a58ff6ada.tar.xz st-5187e696fdafee436aced2a54524445a58ff6ada.zip | |
links
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index a8ae792..4f15d04 100644 --- a/config.def.h +++ b/config.def.h @@ -571,3 +571,14 @@ static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?" "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" "`abcdefghijklmnopqrstuvwxyz{|}~"; + +/* + * Open urls starting with urlprefixes, contatining urlchars + * by passing as ARG1 to urlhandler. + */ +char* urlhandler = "xdg-open"; +char urlchars[] = + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789-._~:/?#@!$&'*+,;=%"; +char* urlprefixes[] = {"http://", "https://", NULL}; |
