eeva
/
st
1
0
Fork 0

Customize config

This commit is contained in:
Martin Potier 2019-02-15 17:44:13 +02:00
parent 83992feffb
commit f01e8fbd5e
1 changed files with 7 additions and 7 deletions

View File

@ -5,8 +5,8 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
static int borderpx = 2;
static char *font = "Iosevka Term:pixelsize=14:antialias=true:autohint=true";
static int borderpx = 3;
/*
* What program is execed by st depends of these precedence rules:
@ -32,7 +32,7 @@ static float chscale = 1.0;
*
* More advanced example: " `'\"()[]{}"
*/
char *worddelimiters = " ";
char *worddelimiters = " `'\"()[]{}";
/* selection timeouts (in milliseconds) */
static unsigned int doubleclicktimeout = 300;
@ -80,7 +80,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[] = {
@ -183,9 +183,9 @@ 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_plus, zoom, {.f = +1} },
{ TERMMOD, XK_minus, zoom, {.f = -1} },
{ TERMMOD, XK_equal, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} },