X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/1f087aa8b70fce67e7c43f689b5fb35667b5d84c..f7b80caebe2b96ef65e301634d8dc4e02325e357:/config.def.h diff --git a/config.def.h b/config.def.h index 7129fa1..85921dc 100644 --- a/config.def.h +++ b/config.def.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false"; +static char font[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; static int borderpx = 2; /* @@ -94,16 +94,27 @@ static const char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", + "#555555", }; /* * Default colors (colorname index) - * foreground, background, cursor + * foreground, background, cursor, reverse cursor */ static unsigned int defaultfg = 7; static unsigned int defaultbg = 0; static unsigned int defaultcs = 256; +static unsigned int defaultrcs = 257; + +/* + * Default shape of cursor + * 2: Block + * 4: Underline + * 6: IBeam + */ + +static unsigned int cursorshape = 2; /* @@ -134,7 +145,7 @@ static Mousekey mshortcuts[] = { static Shortcut shortcuts[] = { /* mask keysym function argument */ - { XK_NO_MOD, XK_Pause, sendbreak, {.i = 0} }, + { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },