diff --git a/src/ui.c b/src/ui.c index 0f87f0a..fac2153 100644 --- a/src/ui.c +++ b/src/ui.c @@ -486,7 +486,7 @@ static void print_passwd(struct uint_point origin, uint length, bool err) { memset(passwd_prompt, 32, 32); memset(passwd_prompt, '*', length); - printf("\r\x1b[%dC\x1b[%sm\x1b[4m", origin.x + 14, pass_color); + printf("\r\x1b[%dC\x1b[%sm", origin.x + 14, pass_color); fflush(stdout); write(STDOUT_FILENO, passwd_prompt, 32); printf("\x1b[%sm", theme.colors.fg); diff --git a/config.ini b/themes/default.ini similarity index 100% rename from config.ini rename to themes/default.ini diff --git a/themes/pure-tastelessness.ini b/themes/pure-tastelessness.ini new file mode 100644 index 0000000..285cef3 --- /dev/null +++ b/themes/pure-tastelessness.ini @@ -0,0 +1,33 @@ +colors.bg = - +colors.fg = 24;39m[?25l[- +colors.err = - +colors.s_wl = - +colors.s_xorg = - +colors.s_shell = - +colors.f_other = - +colors.e_hostname = 30 +colors.e_date = 30 +colors.e_box = - +colors.e_header = 30 +colors.e_user = - +colors.e_passwd = 24;30 +colors.e_badpasswd = - +colors.e_key = 30 +chars.hb = - +chars.vb = - +chars.ctl = - +chars.ctr = - +chars.cbl = - +chars.cbr = - +functions.poweroff = F1 +functions.reboot = F2 +functions.refresh = F5 +strings.f_poweroff = - +strings.f_reboot = - +strings.f_refresh = - +strings.e_user = - +strings.e_passwd = - +strings.s_xorg = - +strings.s_wayland = - +strings.s_shell = - +behavior.include_defshell = false diff --git a/themes/tasteless.ini b/themes/tasteless.ini new file mode 100644 index 0000000..2ad4206 --- /dev/null +++ b/themes/tasteless.ini @@ -0,0 +1,33 @@ +colors.bg = - +colors.fg = 24 +colors.err = - +colors.s_wl = - +colors.s_xorg = - +colors.s_shell = - +colors.f_other = - +colors.e_hostname = - +colors.e_date = - +colors.e_box = - +colors.e_header = - +colors.e_user = - +colors.e_passwd = - +colors.e_badpasswd = - +colors.e_key = - +chars.hb = ─ +chars.vb = │ +chars.ctl = ┌ +chars.ctr = ┐ +chars.cbl = └ +chars.cbr = ┘ +functions.poweroff = F1 +functions.reboot = F2 +functions.refresh = F5 +strings.f_poweroff = poweroff +strings.f_reboot = reboot +strings.f_refresh = refresh +strings.e_user = user +strings.e_passwd = password +strings.s_xorg = xorg +strings.s_wayland = wayland +strings.s_shell = shell +behavior.include_defshell = true diff --git a/themes/tastelessness.ini b/themes/tastelessness.ini new file mode 100644 index 0000000..d46ea4a --- /dev/null +++ b/themes/tastelessness.ini @@ -0,0 +1,33 @@ +colors.bg = - +colors.fg = 24;39m[?25l[- +colors.err = - +colors.s_wl = - +colors.s_xorg = - +colors.s_shell = - +colors.f_other = - +colors.e_hostname = - +colors.e_date = 30 +colors.e_box = - +colors.e_header = 30 +colors.e_user = - +colors.e_passwd = 24;30 +colors.e_badpasswd = - +colors.e_key = - +chars.hb = - +chars.vb = - +chars.ctl = - +chars.ctr = - +chars.cbl = - +chars.cbr = - +functions.poweroff = F1 +functions.reboot = F2 +functions.refresh = F5 +strings.f_poweroff = poweroff +strings.f_reboot = reboot +strings.f_refresh = refresh +strings.e_user = user +strings.e_passwd = password +strings.s_xorg = xorg +strings.s_wayland = wayland +strings.s_shell = shell +behavior.include_defshell = true