nyx/modules/home-manager/hypr/hyprlock.nix

102 lines
2.3 KiB
Nix
Raw Normal View History

2024-12-20 13:11:42 +00:00
{config, ...}: {
2024-08-30 20:18:40 +00:00
programs.hyprlock = {
enable = true;
settings = {
general = {
disable_loading_bar = true;
grace = 5;
no_fade_in = true;
no_fade_out = true;
};
2024-12-20 13:11:42 +00:00
backgruond = {color = "rgba(000000FF)";};
2024-08-30 20:18:40 +00:00
2024-12-20 13:11:42 +00:00
input-field = [
{
monitor = "";
size = "250, 50";
outline_thickness = 2;
dots_size = 0.1;
dots_spacing = 0.3;
outer_color = "rgba(8C909F55)";
inner_color = "rgba(0F131C11)";
font_color = "rgba(C2C6D6FF)";
2024-08-30 20:18:40 +00:00
2024-12-20 13:11:42 +00:00
position = "0, 20";
halign = "center";
valign = "center";
}
];
2024-08-30 20:18:40 +00:00
label = [
2024-12-20 13:11:42 +00:00
{
# Clock
2024-10-20 14:22:22 +00:00
monitor = "";
text = "$TIME";
shadow_passes = 1;
shadow_boost = 0.5;
color = "rgba(FFFFFFFF)";
font_size = "65";
2024-08-30 20:18:40 +00:00
font_family = "Rubik Light";
2024-08-30 21:52:01 +00:00
position = "0, 300";
2024-08-30 20:18:40 +00:00
}
2024-12-20 13:11:42 +00:00
{
# Greeting
2024-08-30 20:18:40 +00:00
monitor = "";
text = "Hi $USER !!!";
shadow_passes = 1;
shadow_boost = 0.5;
color = "rgba(FFFFFFFF)";
font_size = "20";
font_family = "Rubik Light";
position = "0, 240";
halign = "center";
valign = "center";
}
2024-12-20 13:11:42 +00:00
{
# lock icon
2024-08-30 20:18:40 +00:00
monitor = "";
2024-10-20 14:22:22 +00:00
text = "lock";
shadow_passes = 1;
shadow_boost = 0.5;
color = "rgba(FFFFFFFF)";
font_size = "21";
font_family = "Material Symbols Rounded";
2024-08-30 20:18:40 +00:00
position = "0, 65";
halign = "center";
valign = "center";
}
2024-12-20 13:11:42 +00:00
{
# "locked" text
2024-08-30 20:18:40 +00:00
monitor = "";
text = "locked";
shadow_passes = 1;
shadow_boost = 0.5;
2024-10-20 14:22:22 +00:00
color = "rgba(FFFFFFFF)";
font_size = "14";
font_family = "Rubik Light";
2024-08-30 20:18:40 +00:00
position = "0, 45";
halign = "center";
valign = "center";
}
#{ # Status
# monitor = "";
# text = "";
# shadow_passes = 1;
# shadow_boost = 0.5;
# color = "rgba(FFFFFFFF)";
# font_size = "24";
# font_family = "Rubik Light";
#}
];
};
};
2024-10-20 14:22:22 +00:00
}