hyprlock: only show the input field once typing starts
4c497ed fixed the invisible empty field by disabling fade_on_empty
entirely, but that made the field permanently visible even at rest,
which is no longer wanted. The underlying visibility problem was the
colours and the empty $LAYOUT placeholder, and those fixes stay: with
the brighter inner_color and the static 'Enter password' placeholder the
field is clearly readable while typing, so fade_on_empty can safely come
back to hide the field until it is used.
This commit is contained in:
parent
17f3b49a09
commit
084bf07877
1 changed files with 4 additions and 4 deletions
|
|
@ -38,10 +38,10 @@ input-field {
|
|||
fail_color = rgba(255, 50, 80, 0.9) rgba(255, 0, 100, 0.9) 30deg
|
||||
|
||||
font_color = rgba(255, 255, 255, 0.9)
|
||||
# fade_on_empty made the empty field nearly invisible (combined with the
|
||||
# transparent inner_color and an empty $LAYOUT placeholder under fcitx5),
|
||||
# leaving only the clock on screen with no way to tell where to type.
|
||||
fade_on_empty = false
|
||||
# Only show the field once typing starts (old behaviour). The colours above
|
||||
# were brightened and the placeholder made static so the field is clearly
|
||||
# visible while typing — see the $LAYOUT/fcitx5 note below.
|
||||
fade_on_empty = true
|
||||
rounding = 20
|
||||
|
||||
position = 0, 60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue