From 22c5f5f866d967d3d41f651c14f3a2fd11da0038 Mon Sep 17 00:00:00 2001 From: Nikita Langer Date: Sun, 31 May 2026 09:57:10 +0200 Subject: Cliuck url --- 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 27eb66c..e0913e4 100644 --- a/config.def.h +++ b/config.def.h @@ -549,3 +549,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