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 */
|
||||
static const char *user = "nobody";
|
||||
static const char *group = "nogroup";
|
||||
static const char *user = "ryan";
|
||||
static const char *group = "ryan";
|
||||
|
||||
static const char *colorname[NUMCOLS] = {
|
||||
[BACKGROUND] = "white",
|
||||
|
|
@ -13,10 +13,10 @@ static const char *colorname[NUMCOLS] = {
|
|||
* Xresources preferences to load at startup
|
||||
*/
|
||||
ResourcePref resources[] = {
|
||||
{ "normbgcolor", STRING, &colorname[BACKGROUND] },
|
||||
{ "normfgcolor", STRING, &colorname[INIT] },
|
||||
{ "selfgcolor", STRING, &colorname[INPUT] },
|
||||
{ "failfgcolor", STRING, &colorname[FAILED] },
|
||||
{ "background", STRING, &colorname[BACKGROUND] },
|
||||
{ "fadeColor", STRING, &colorname[INIT] },
|
||||
{ "accentColor", STRING, &colorname[INPUT] },
|
||||
{ "alertColor", STRING, &colorname[FAILED] },
|
||||
};
|
||||
|
||||
/* treat a cleared input like a wrong password (color) */
|
||||
|
|
|
|||
Loading…
Reference in New Issue