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