From b231fe9e7f4daf85853bd4cf85c7da8b61c38c3e Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 29 Jun 2025 15:42:07 -0400 Subject: vfs0090: override base package instead of copy --- modules/apps/hyprlock.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/apps/hyprlock.nix') diff --git a/modules/apps/hyprlock.nix b/modules/apps/hyprlock.nix index 50f8d6e..8c6bb6a 100644 --- a/modules/apps/hyprlock.nix +++ b/modules/apps/hyprlock.nix @@ -8,7 +8,7 @@ error = "rgb(${config.theme.colors.error})"; trans = "rgba(0,0,0,0)"; - inherit (lib) mkIf; + inherit (lib) mkIf optionals; cfg = config.apps; in { config = mkIf cfg.hyprlock { @@ -48,7 +48,9 @@ in { inner_color = trans; font_color = text; fade_on_empty = false; - placeholder_text = "Enter Password"; + placeholder_text = + "Enter Password" + + (optionals config.fingerprint " or Touch Fingerprint"); hide_input = false; check_color = error; fail_color = error; -- cgit v1.2.3-freya