From 5187e696fdafee436aced2a54524445a58ff6ada Mon Sep 17 00:00:00 2001 From: Nikita Langer Date: Wed, 27 May 2026 21:52:45 +0200 Subject: links --- config.def.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config.def.h') 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}; -- cgit