hyprlock: add themed lockscreen config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
63334db4a1
commit
862c6b22ed
1 changed files with 58 additions and 1 deletions
|
|
@ -396,7 +396,64 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.hyprlock.enable = true;
|
programs.hyprlock = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
grace = 5;
|
||||||
|
hide_cursor = true;
|
||||||
|
};
|
||||||
|
background = [{
|
||||||
|
path = "$HOME/.local/share/backgrounds/wallpaper.png";
|
||||||
|
blur_passes = 3;
|
||||||
|
blur_size = 8;
|
||||||
|
brightness = 0.6;
|
||||||
|
}];
|
||||||
|
input-field = [{
|
||||||
|
size = "280, 44";
|
||||||
|
outline_thickness = 2;
|
||||||
|
dots_size = 0.25;
|
||||||
|
dots_spacing = 0.2;
|
||||||
|
dots_center = true;
|
||||||
|
outer_color = "rgb(${c.base02})";
|
||||||
|
inner_color = "rgb(${c.base01})";
|
||||||
|
font_color = "rgb(${c.base05})";
|
||||||
|
fade_on_empty = true;
|
||||||
|
fade_timeout = 3000;
|
||||||
|
placeholder_text = "";
|
||||||
|
check_color = "rgb(${c.base0D})";
|
||||||
|
fail_color = "rgb(${c.base08})";
|
||||||
|
fail_text = "";
|
||||||
|
capslock_color = "rgb(${c.base0A})";
|
||||||
|
position = "0, -40";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
rounding = 8;
|
||||||
|
}];
|
||||||
|
label = [
|
||||||
|
{
|
||||||
|
# Time
|
||||||
|
text = "$TIME";
|
||||||
|
color = "rgb(${c.base05})";
|
||||||
|
font_size = 72;
|
||||||
|
font_family = "Inter";
|
||||||
|
position = "0, 120";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
# Date
|
||||||
|
text = "cmd[update:60000] date +'%A, %d %B'";
|
||||||
|
color = "rgb(${c.base04})";
|
||||||
|
font_size = 16;
|
||||||
|
font_family = "Inter";
|
||||||
|
position = "0, 60";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.hypridle = lib.mkIf isMacbook {
|
services.hypridle = lib.mkIf isMacbook {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue