setup colors and user
parent
e055505b3d
commit
38cf36403d
12
config.h
12
config.h
|
|
@ -1,6 +1,6 @@
|
||||||
/* user and group to drop privileges to */
|
/* user and group to drop privileges to */
|
||||||
static const char *user = "nobody";
|
static const char *user = "ryan";
|
||||||
static const char *group = "nogroup";
|
static const char *group = "ryan";
|
||||||
|
|
||||||
static const char *colorname[NUMCOLS] = {
|
static const char *colorname[NUMCOLS] = {
|
||||||
[BACKGROUND] = "white",
|
[BACKGROUND] = "white",
|
||||||
|
|
@ -13,10 +13,10 @@ static const char *colorname[NUMCOLS] = {
|
||||||
* Xresources preferences to load at startup
|
* Xresources preferences to load at startup
|
||||||
*/
|
*/
|
||||||
ResourcePref resources[] = {
|
ResourcePref resources[] = {
|
||||||
{ "normbgcolor", STRING, &colorname[BACKGROUND] },
|
{ "background", STRING, &colorname[BACKGROUND] },
|
||||||
{ "normfgcolor", STRING, &colorname[INIT] },
|
{ "fadeColor", STRING, &colorname[INIT] },
|
||||||
{ "selfgcolor", STRING, &colorname[INPUT] },
|
{ "accentColor", STRING, &colorname[INPUT] },
|
||||||
{ "failfgcolor", STRING, &colorname[FAILED] },
|
{ "alertColor", STRING, &colorname[FAILED] },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* treat a cleared input like a wrong password (color) */
|
/* treat a cleared input like a wrong password (color) */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue