nixos/home/hyprland/swaylock.nix

22 lines
564 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{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";
2023-05-25 13:08:29 +01:00
ring-color = "1e1e2e"; # Catppuccin base
key-hl-color = "b4befe"; # Catppuccin lavender
line-color = "1e1e2e"; # Catppuccin base
separator-color = "585b70"; # Catppuccin surface2
grace = 2;
fade-in = 0.2;
};
};
}