setup colors and user

Ryan 2023-09-20 21:21:11 -04:00
parent e055505b3d
commit 38cf36403d
Signed by: ryan
GPG Key ID: 7D7E2E94267DAD95
1 changed files with 6 additions and 6 deletions

View File

@ -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) */