ft: hyprland to home manager, mostly
This commit is contained in:
91
modules/desktop/hyprapps.nix
Normal file
91
modules/desktop/hyprapps.nix
Normal file
@@ -0,0 +1,91 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
home-manager.users."djai".programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
hide_cursor = true;
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
animations = {
|
||||
enabled = true;
|
||||
fade_in = {
|
||||
duration = 300;
|
||||
bezier = "easeOutQuint";
|
||||
};
|
||||
fade_out = {
|
||||
duration = 300;
|
||||
bezier = "easeOutQuint";
|
||||
};
|
||||
|
||||
input_field_dots = {
|
||||
duration = 100;
|
||||
bezier = "linear";
|
||||
};
|
||||
};
|
||||
|
||||
background = {
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
};
|
||||
|
||||
input-field = {
|
||||
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 = {
|
||||
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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user