From 084bf0787729ada9e01f88bff42c59c13d64d561 Mon Sep 17 00:00:00 2001 From: Jeena Date: Tue, 22 Sep 2026 23:58:51 +0900 Subject: [PATCH] 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. --- hypr/hyprlock.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 1d414b5..caff948 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -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