Skip to content

Colors from .Xresources are not used. #104

Answered by bakkeby
plmi asked this question in Q&A
Discussion options

You must be logged in to vote

The resource names that are read, and what values they override, are defined in the resources array in the st config.

st-flexipatch/config.def.h

Lines 283 to 327 in 1c03f10

/*
* Xresources preferences to load at startup
*/
ResourcePref resources[] = {
{ "font", STRING, &font },
{ "color0", STRING, &colorname[0] },
{ "color1", STRING, &colorname[1] },
{ "color2", STRING, &colorname[2] },
{ "color3", STRING, &colorname[3] },
{ "color4", STRING, &colorname[4] },
{ "color5", STRING, &colorname[5] },
{ "color6", STRING, &colorname[6] },
{ "color7", STRING, &colorname[7] },
{ "color8", STRING, &colorname[8] },
{ "…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@plmi
Comment options

Answer selected by plmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants