Clean up config.h a bit

This commit is contained in:
2024-07-25 02:48:53 +01:00
parent 7e00632a3a
commit 8afedaea39

View File

@@ -94,7 +94,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
/* bg opacity */
float alpha = 0.75, alphaUnfocused = 0.65;
float alpha = 0.85, alphaUnfocused = 0.75;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@@ -144,7 +144,7 @@ unsigned int bg = 0, bgUnfocused = 16;
* 6: Bar ("|")
* 7: Snowman ("☃")
*/
static unsigned int cursorshape = 7;
static unsigned int cursorshape = 6;
/*
* Default columns and rows numbers
@@ -204,19 +204,17 @@ static Shortcut shortcuts[] = {
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
{ MODKEY, XK_equal, zoom, {.f = +1} },
{ MODKEY, XK_minus, zoom, {.f = -1} },
{ MODKEY, XK_0, zoomreset, {.f = 0} },
{ MODKEY, XK_k, kscrollup, {.i = 1} },
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
{ MODSKEY, XK_K, kscrollup, {.i = -1} },
{ MODSKEY, XK_J, kscrolldown, {.i = -1} },
{ MODKEY|ControlMask, XK_o, externalpipe, {.v = openurlcmd} },
{ MODKEY|ControlMask, XK_u, externalpipe, {.v = copyurlcmd} },
{ MODKEY|ControlMask, XK_c, externalpipe, {.v = copyoutput} },
{ MODKEY, XK_0, zoomreset, {.f = 0} },
{ MODKEY, XK_c, clipcopy, {.i = 0} },
{ MODKEY, XK_v, clippaste, {.i = 0} },
{ MODKEY, XK_y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ MODKEY|ControlMask, XK_o, externalpipe, {.v = openurlcmd} },
{ MODKEY|ControlMask, XK_u, externalpipe, {.v = copyurlcmd} },
{ MODKEY|ControlMask, XK_c, externalpipe, {.v = copyoutput} },
};
/*