mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Show fail msg & attempt amount with labels
This commit is contained in:
parent
7a63d4df6f
commit
e8136e9666
|
@ -35,11 +35,11 @@ input-field {
|
||||||
check_color = rgb(204, -136, 34) # override outer_color while checking the pw (could take a while sometimes - pam lockouts)
|
check_color = rgb(204, -136, 34) # override outer_color while checking the pw (could take a while sometimes - pam lockouts)
|
||||||
fail_color = rgb(204, 34, 34) # override outer_color and fail message color if auth failed
|
fail_color = rgb(204, 34, 34) # override outer_color and fail message color if auth failed
|
||||||
fail_transition = 500 # transition time in ms between normal outer_color and fail_color
|
fail_transition = 500 # transition time in ms between normal outer_color and fail_color
|
||||||
fail_text = <span size='14pt' foreground='##999'><i>Logged <span foreground='##FFA500'>$ATTEMPTS</span> failure(s): <span foreground='##ff2222'>$FAIL</span></i></span>
|
fail_text = # Leave this empty (amt of attempts and fail reason shown with labels)
|
||||||
|
|
||||||
hide_input = true
|
hide_input = true
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
placeholder_text = # There is a zero-width joiner character here (U+200D) since fail_text doesn't work with this empty
|
placeholder_text = # Leave this empty
|
||||||
|
|
||||||
position = 0, 0
|
position = 0, 0
|
||||||
halign = center
|
halign = center
|
||||||
|
@ -86,6 +86,38 @@ label {
|
||||||
# ### OTHER LABELS ###
|
# ### OTHER LABELS ###
|
||||||
# ####################
|
# ####################
|
||||||
|
|
||||||
|
# Failed attempts count
|
||||||
|
label {
|
||||||
|
text = <i>Logged <span foreground='##FFA500'>$ATTEMPTS[0]</span> failure(s)</i>
|
||||||
|
color = rgba(153, 153, 153, 1.0) # gray
|
||||||
|
font_size = 14
|
||||||
|
font_family = Noto Sans
|
||||||
|
|
||||||
|
shadow_passes = 1
|
||||||
|
shadow_size = 1.2
|
||||||
|
shadow_boost = 1.0
|
||||||
|
|
||||||
|
position = 0, -200
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# Failed attempts count
|
||||||
|
label {
|
||||||
|
text = <i>$FAIL</i>
|
||||||
|
color = rgba(255, 34, 34, 1.0) # red
|
||||||
|
font_size = 14
|
||||||
|
font_family = Noto Sans
|
||||||
|
|
||||||
|
shadow_passes = 1
|
||||||
|
shadow_size = 1.2
|
||||||
|
shadow_boost = 1.0
|
||||||
|
|
||||||
|
position = 0, -230
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
# Splash text
|
# Splash text
|
||||||
label {
|
label {
|
||||||
text = Session Locked
|
text = Session Locked
|
||||||
|
|
Loading…
Reference in a new issue