synix/modules/home/hyprland/hyprlock.nix
sid 95a533c876
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s
initial commit
2026-02-23 20:34:35 +01:00

38 lines
698 B
Nix

{ config, lib, ... }:
let
cfg = config.wayland.windowManager.hyprland;
inherit (lib) mkIf;
in
{
programs.hyprlock = mkIf cfg.enable {
enable = true;
settings = {
general = {
disable_loading_bar = true;
grace = 0;
hide_cursor = true;
no_fade_in = true;
};
animations.enabled = false;
label = {
text = "$TIME";
font_size = 100;
position = "0, 50";
halign = "center";
valign = "center";
};
input-field = {
size = "200, 50";
position = "0, -80";
dots_center = true;
fade_on_empty = false;
outline_thickness = 3;
};
};
};
}