aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorNikita Langer <nikitalanger@icloud.com>2026-05-31 09:57:10 +0200
committerNikita Langer <nikitalanger@icloud.com>2026-05-31 09:57:10 +0200
commit22c5f5f866d967d3d41f651c14f3a2fd11da0038 (patch)
treef205fe53d20330a34fe3ea29d45c16a18d22a52b /config.def.h
parentc46a160aa0618182c92f8a135fd8a35e53cdb4bf (diff)
downloadst-22c5f5f866d967d3d41f651c14f3a2fd11da0038.tar.gz
st-22c5f5f866d967d3d41f651c14f3a2fd11da0038.tar.bz2
st-22c5f5f866d967d3d41f651c14f3a2fd11da0038.tar.xz
st-22c5f5f866d967d3d41f651c14f3a2fd11da0038.zip
Cliuck url
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h11
1 files changed, 11 insertions, 0 deletions
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};