support resizing terminal font
authorMart Lubbers <mart@martlubbers.net>
Wed, 27 Feb 2019 14:02:58 +0000 (15:02 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 27 Feb 2019 14:02:58 +0000 (15:02 +0100)
config.h/st/config.h

index d4306dc..7e41a7e 100644 (file)
@@ -169,9 +169,12 @@ static Shortcut shortcuts[] = {
        { ControlMask,          XK_Print,       toggleprinter,  {.i =  0} },
        { ShiftMask,            XK_Print,       printscreen,    {.i =  0} },
        { XK_ANY_MOD,           XK_Print,       printsel,       {.i =  0} },
-       { TERMMOD,              XK_Prior,       zoom,           {.f = +1} },
-       { TERMMOD,              XK_Next,        zoom,           {.f = -1} },
-       { TERMMOD,              XK_Home,        zoomreset,      {.f =  0} },
+//     { TERMMOD,              XK_Prior,       zoom,           {.f = +1} },
+//     { TERMMOD,              XK_Next,        zoom,           {.f = -1} },
+//     { TERMMOD,              XK_Home,        zoomreset,      {.f =  0} },
+       { TERMMOD,              XK_Up,          zoom,           {.f = +1} },
+       { TERMMOD,              XK_Down,        zoom,           {.f = -1} },
+       { TERMMOD,              XK_Left,        zoomreset,      {.f =  0} },
        { TERMMOD,              XK_C,           clipcopy,       {.i =  0} },
        { TERMMOD,              XK_V,           clippaste,      {.i =  0} },
        { TERMMOD,              XK_Y,           selpaste,       {.i =  0} },