summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-09-24 00:45:44 +0200
committerfilip <“filip.rabiega@gmail.com”>2025-09-24 00:45:44 +0200
commit22ef20b6b12991a8624345c0f6782b1118cf7294 (patch)
treec5a02bfb83428cd013cafa77689ba6174e6ba721 /config.def.h
parent98610fcd37f655d44586323dc86c1d013c2798ce (diff)
downloadchadst-22ef20b6b12991a8624345c0f6782b1118cf7294.tar.gz
chadst-22ef20b6b12991a8624345c0f6782b1118cf7294.tar.bz2
chadst-22ef20b6b12991a8624345c0f6782b1118cf7294.zip
applied alpha, scrollback, clickurlmy_st
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 2cd740a..cf1001c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
+static char *font = "Liberation Mono:pixelsize=14:antialias=true:autohint=true";
static int borderpx = 2;
/*
@@ -16,7 +16,7 @@ static int borderpx = 2;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
-static char *shell = "/bin/sh";
+static char *shell = "/usr/bin/zsh";
char *utmp = NULL;
/* scroll program: to enable use a string like "scroll" */
char *scroll = NULL;
@@ -93,6 +93,9 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 8;
+/* bg opacity */
+float alpha = 0.8;
+
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
@@ -201,6 +204,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*
@@ -472,3 +477,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};