summaryrefslogtreecommitdiff
path: root/modules/apps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps')
-rw-r--r--modules/apps/hyprlock.nix6
1 files changed, 4 insertions, 2 deletions
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;