aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-07-25 02:48:53 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-07-25 02:48:53 +0100
commit8afedaea39b66ea9e557793fcb3bc3a981ab117b (patch)
treeb5e9c585177dd9d924528d721e3a6a543c0fd749 /config.h
parent7e00632a3aa3db8f27f39f5f5cc471790231d031 (diff)
downloadst-8afedaea39b66ea9e557793fcb3bc3a981ab117b.tar.gz
st-8afedaea39b66ea9e557793fcb3bc3a981ab117b.tar.bz2
st-8afedaea39b66ea9e557793fcb3bc3a981ab117b.zip
Clean up config.h a bit
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/config.h b/config.h
index 6936fb6..fb3dd6b 100644
--- a/config.h
+++ b/config.h
@@ -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} },
};
/*