summaryrefslogtreecommitdiff
path: root/config.def.h.orig
diff options
context:
space:
mode:
authorP.P.A <adolphs@moselle.moe>2023-07-08 12:14:49 +0200
committerP.P.A <adolphs@moselle.moe>2023-07-08 12:14:49 +0200
commit64e6daef0c8cc7a382ef77186fc0877cf814e0dd (patch)
tree4f83650205ede557f46c1081475858144291c59c /config.def.h.orig
parent60520dbe3f6301aaa3ce62c7e6dc9a47c84fcd7f (diff)
blinking cursor
Diffstat (limited to 'config.def.h.orig')
-rw-r--r--config.def.h.orig7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h.orig b/config.def.h.orig
index 91ab8ca..99156da 100644
--- a/config.def.h.orig
+++ b/config.def.h.orig
@@ -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 */
@@ -176,6 +179,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
+ { XK_ANY_MOD, Button4, kscrollup, {.i = 1}, 0, /* !alt */ -1 },
+ { XK_ANY_MOD, Button5, kscrolldown, {.i = 1}, 0, /* !alt */ -1 },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
@@ -201,6 +206,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} },
};
/*