commit e25fbb2fd1142b131b9f188449e0142db566afe4
parent 7e3612e81ba321e656a8f90020d8450b6709e0a3
Author: deurzen <m.deurzen@tum.de>
Date: Thu, 14 Jan 2021 02:04:38 +0100
adds custom config
Diffstat:
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -6,8 +6,8 @@
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *fonts[] = {
- "Liberation Mono:pixelsize=12:antialias=true:autohint=true",
- "tewi:pixelsize=12:antialias=true:autohint=true"
+ "GohuFont:pixelsize=14",
+ "Terminus:pixelsize=14",
};
static int fonts_current = 0;
@@ -26,7 +26,7 @@ static int borderpx = 2;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
-static char *shell = "/bin/sh";
+static char *shell = "/bin/zsh";
char *utmp = NULL;
/* scroll program: to enable use a string like "scroll" */
char *scroll = NULL;
@@ -75,7 +75,7 @@ static unsigned int blinktimeout = 800;
/*
* thickness of underline and bar cursors
*/
-static unsigned int cursorthickness = 2;
+static unsigned int cursorthickness = 1;
/*
* bell volume. It must be a value between -100 and 100. Use 0 for disabling
@@ -101,7 +101,7 @@ char *termname = "st-256color";
*
* stty tabs
*/
-unsigned int tabspaces = 8;
+unsigned int tabspaces = 4;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@@ -155,8 +155,8 @@ static unsigned int cursorshape = 2;
* Default columns and rows numbers
*/
-static unsigned int cols = 80;
-static unsigned int rows = 24;
+static unsigned int cols = 60;
+static unsigned int rows = 18;
/*
* Default colour and shape of the mouse cursor
@@ -204,8 +204,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_Prior, zoom, {.f = +1} },
{ TERMMOD, XK_Next, zoom, {.f = -1} },
+ { MODKEY, XK_equal, zoom, {.f = +1} },
+ { MODKEY, XK_minus, zoom, {.f = -1} },
+ { MODKEY, XK_KP_Add, zoom, {.f = +1} },
+ { MODKEY, XK_KP_Subtract, zoom, {.f = -1} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} },
diff --git a/st.info b/st.info
@@ -47,7 +47,7 @@ st-mono| simpleterm monocolor,
indn=\E[%p1%dS,
invis=\E[8m,
is2=\E[4l\E>\E[?1034l,
- it#8,
+ it#4,
kel=\E[1;2F,
ked=\E[1;5F,
ka1=\E[1~,