nixos/home/hyprland/swaylock.nix

22 lines
558 B
Nix
Raw Normal View History

{ pkgs, ... }: {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
screenshots = true;
clock = true;
indicator = true;
indicator-radius = 100;
indicator-thickness = 7;
effect-blur = "7x5";
effect-vignette = "0.5:0.5";
ring-color = "24273a"; # Catppuccin base
key-hl-color = "b7bdf8"; # Catppuccin lavender
line-color = "24273a"; # Catppuccin base
separator-color = "8bd5ca"; # Catppuccin teal
grace = 2;
fade-in = 0.2;
};
};
}