colours again, nerd font, doubled zoom

This commit is contained in:
2026-08-03 00:35:45 +02:00
parent f1b4aca0dd
commit dff014edc1
+35 -12
View File
@@ -5,7 +5,9 @@
* *
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/ */
static char *font = "Liberation Mono:pixelsize=18:antialias=true:autohint=true";
//static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true";
static char *font = "D2CodingLigature Nerd Font Mono:pixelsize=16:antialias=true:autohint=true";
static int borderpx = 2; static int borderpx = 2;
/* /*
@@ -95,23 +97,44 @@ unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {
"#11111a", "#11111a",
"#af0000", "#a62929",
"#00af00", "#899425",
"#d3ad00", "#de8643",
"#1a1aaf", "#37709e",
"#85678f",
"#5e8d87",
"#8f8fc7",
"#474766",
"#cc5252",
"#aabd4b",
"#f0bc54",
"#4d8cbf",
"#b294bb",
"#8abeb7",
"#c7c7f7",
/*
"#11111a",
"#a54242", //#af0000",
"#8c9440", //#00af00",
"#de935f", //#d3ad00",
"#5f819d", //#1a1aaf",
"#85678f", "#85678f",
"#5e8d87", "#5e8d87",
"#8f8fc7", "#8f8fc7",
"#2d2d40", "#3c3c56", //333349", //"#2d2d40",
"#e50000", "#cc6666", //#e50000",
"#00e600", "#b5bd68", //#00e600",
"#ffd100", "#f0c674", //#ffd100",
"#3737e6", "#81a2be", //#3737e6",
"#b294bb", "#b294bb",
"#8abeb7", "#8abeb7",
"#c7c7f7", "#c7c7f7",
*/
/* /*
"#282a2e", "#282a2e",
"#a54242", "#a54242",
@@ -231,8 +254,8 @@ static Shortcut shortcuts[] = {
{ ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} },
{ ShiftMask, XK_Print, printscreen, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} },
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
{ TERMMOD, XK_Prior, zoom, {.f = +1} }, { TERMMOD, XK_Prior, zoom, {.f = +2} },
{ TERMMOD, XK_Next, zoom, {.f = -1} }, { TERMMOD, XK_Next, zoom, {.f = -2} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} }, { TERMMOD, XK_Home, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },