This commit is contained in:
tavo-wasd 2024-03-13 11:21:27 -06:00
parent 03e28c4a07
commit 5739e02095
2 changed files with 3 additions and 3 deletions

View file

@ -12,8 +12,8 @@ static const char *fonts[] = {
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
[SchemeNorm] = { "#665c54", "#121212" },
[SchemeSel] = { "#121212", "#d3869b" },
[SchemeNorm] = { "#606060", "#1d2021" },
[SchemeSel] = { "#1d2021", "#fabd2f" },
[SchemeOut] = { "#000000", "#00ffff" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */

View file

@ -174,7 +174,7 @@ drawmenu(void)
drw_setscheme(drw, scheme[SchemeNorm]);
if (passwd) {
censort = ecalloc(1, sizeof(text));
memset(censort, '.', strlen(text));
memset(censort, '*', strlen(text));
drw_text(drw, x, 0, w, bh, lrpad / 2, censort, 0);
free(censort);
} else drw_text(drw, x, 0, w, bh, lrpad / 2, text, 0);