88 lines
1.8 KiB
Nix
88 lines
1.8 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
home-manager.users.djai.catppuccin.hyprlock.useDefaultConfig = false;
|
|
home-manager.users."djai".programs.hyprlock = {
|
|
enable = true;
|
|
settings = {
|
|
general = {
|
|
hide_cursor = true;
|
|
ignore_empty_input = true;
|
|
};
|
|
|
|
animations = {
|
|
enabled = true;
|
|
animation = [
|
|
"fadeIn, 1, 5, linear"
|
|
"fadeOut, 1, 5, linear"
|
|
"inputFieldDots, 1, 2, linear"
|
|
];
|
|
};
|
|
|
|
background = {
|
|
monitor = "";
|
|
path = "screenshot";
|
|
blur_passes = 3;
|
|
};
|
|
|
|
input-field = {
|
|
monitor = "";
|
|
size = "20%, 5%";
|
|
outline_thickness = 3;
|
|
inner_color = "rgba(0, 0, 0, 0.0)"; # no fill
|
|
outer_color = "rgba($blueAlphaee) rgba($mauveAlphaee) 340deg";
|
|
check_color = "rgba($greenAlphaee) rgba($tealAlphaee) 120deg";
|
|
fail_color = "rgba($redAlphaee) rgba($peachAlphaee) 20deg";
|
|
|
|
font_color = "$text";
|
|
fade_on_empty = false;
|
|
rounding = 15;
|
|
|
|
font_family = "Monospace";
|
|
placeholder_text = "Input password..";
|
|
fail_text = "$PAMFAIL";
|
|
|
|
dots_spacing = 0.3;
|
|
|
|
position = "0, -20";
|
|
halign = "center";
|
|
valign = "center";
|
|
};
|
|
|
|
label = {
|
|
monitor = "";
|
|
text = "$ATTEMPTS";
|
|
font_size = 24;
|
|
|
|
position = "0, 40";
|
|
halign = "center";
|
|
valign = "center";
|
|
};
|
|
};
|
|
};
|
|
|
|
home-manager.users."djai".services.hyprsunset = {
|
|
enable = true;
|
|
settings = {
|
|
max-gamma = 150;
|
|
|
|
profile = [
|
|
{
|
|
time = "7:30";
|
|
identity = true;
|
|
}
|
|
{
|
|
time = "20:00";
|
|
temperature = 3500;
|
|
gamma = 0.9;
|
|
}
|
|
{
|
|
time = "21:00";
|
|
temperature = 2500;
|
|
gamma = 0.9;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|