From 14f1b892e8a7e87bf09d736ff8835edfb878af96 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+Saumit-D@users.noreply.github.com> Date: Tue, 26 Oct 2021 13:30:31 +0530 Subject: Update config.h --- config.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/config.h b/config.h index c8966e5..44fe3ab 100644 --- a/config.h +++ b/config.h @@ -111,9 +111,6 @@ 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 */ @@ -141,7 +138,6 @@ static const char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", "#555555", - "black", }; @@ -150,7 +146,7 @@ static const char *colorname[] = { * foreground, background, cursor, reverse cursor */ unsigned int defaultfg = 7; -unsigned int defaultbg = 258; +unsigned int defaultbg = 0; static unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; @@ -208,8 +204,6 @@ static MouseShortcut mshortcuts[] = { { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, }; - - static Shortcut shortcuts[] = { /* mask keysym function argument */ { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, @@ -225,16 +219,17 @@ static Shortcut shortcuts[] = { { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, //setting vim and arrow keys to scroll line one by one pressing alt - { MODKEY, XK_k, kscrollup, {.i = 1} }, - { MODKEY, XK_Up, kscrollup, {.i = 1} }, + { MODKEY, XK_k, kscrollup, {.i = 1} }, + { MODKEY, XK_Up, kscrollup, {.i = 1} }, { MODKEY, XK_j, kscrolldown, {.i = 1} }, { MODKEY, XK_Down, kscrolldown, {.i = 1} }, //scroll thru page wise { MODKEY, XK_Page_Up, kscrollup, {.i = -1} }, { MODKEY, XK_Page_Down, kscrolldown, {.i = -1} }, + { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, + { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, }; - /* * Special keys (change & recompile st.info accordingly) * -- cgit v1.2.3