looks
This commit is contained in:
parent
03e28c4a07
commit
5739e02095
2 changed files with 3 additions and 3 deletions
|
@ -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 */
|
||||
|
|
2
dmenu.c
2
dmenu.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue