font2 xresources

This commit is contained in:
mrsu 2024-06-14 15:17:15 +01:00
parent 1cde288ca3
commit 31e0ba8cb2
2 changed files with 5 additions and 3 deletions

View File

@ -196,6 +196,7 @@ static uint forcemousemod = ShiftMask;
*/ */
ResourcePref resources[] = { ResourcePref resources[] = {
{ "font", STRING, &font }, { "font", STRING, &font },
{ "font2", STRING, &font2 },
{ "color0", STRING, &colorname[0] }, { "color0", STRING, &colorname[0] },
{ "color1", STRING, &colorname[1] }, { "color1", STRING, &colorname[1] },
{ "color2", STRING, &colorname[2] }, { "color2", STRING, &colorname[2] },
@ -217,7 +218,7 @@ ResourcePref resources[] = {
{ "cursorColor", STRING, &colorname[258] }, { "cursorColor", STRING, &colorname[258] },
{ "termname", STRING, &termname }, { "termname", STRING, &termname },
{ "shell", STRING, &shell }, { "shell", STRING, &shell },
{ "alpha", FLOAT, &alpha }, { "alpha", FLOAT, &alpha },
{ "minlatency", INTEGER, &minlatency }, { "minlatency", INTEGER, &minlatency },
{ "maxlatency", INTEGER, &maxlatency }, { "maxlatency", INTEGER, &maxlatency },
{ "blinktimeout", INTEGER, &blinktimeout }, { "blinktimeout", INTEGER, &blinktimeout },

View File

@ -56,7 +56,7 @@ int allowwindowops = 0;
* near minlatency, but it waits longer for slow updates to avoid partial draw. * near minlatency, but it waits longer for slow updates to avoid partial draw.
* low minlatency will tear/flicker more, as it can "detect" idle too early. * low minlatency will tear/flicker more, as it can "detect" idle too early.
*/ */
static double minlatency = 8; static double minlatency = 2;
static double maxlatency = 33; static double maxlatency = 33;
/* /*
@ -196,6 +196,7 @@ static uint forcemousemod = ShiftMask;
*/ */
ResourcePref resources[] = { ResourcePref resources[] = {
{ "font", STRING, &font }, { "font", STRING, &font },
{ "font2", STRING, &font2 },
{ "color0", STRING, &colorname[0] }, { "color0", STRING, &colorname[0] },
{ "color1", STRING, &colorname[1] }, { "color1", STRING, &colorname[1] },
{ "color2", STRING, &colorname[2] }, { "color2", STRING, &colorname[2] },
@ -217,7 +218,7 @@ ResourcePref resources[] = {
{ "cursorColor", STRING, &colorname[258] }, { "cursorColor", STRING, &colorname[258] },
{ "termname", STRING, &termname }, { "termname", STRING, &termname },
{ "shell", STRING, &shell }, { "shell", STRING, &shell },
{ "alpha", FLOAT, &alpha }, { "alpha", FLOAT, &alpha },
{ "minlatency", INTEGER, &minlatency }, { "minlatency", INTEGER, &minlatency },
{ "maxlatency", INTEGER, &maxlatency }, { "maxlatency", INTEGER, &maxlatency },
{ "blinktimeout", INTEGER, &blinktimeout }, { "blinktimeout", INTEGER, &blinktimeout },