2025-01-13 17:40:59 +01:00
|
|
|
{ config, ... }:
|
|
|
|
let
|
|
|
|
textColor = config.lib.stylix.colors.base05;
|
|
|
|
in
|
2025-01-13 12:37:50 +01:00
|
|
|
{
|
2025-01-13 17:40:59 +01:00
|
|
|
programs.hyprlock = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
# background = {
|
|
|
|
# blur_passes = 1;
|
|
|
|
# };
|
|
|
|
label = [
|
|
|
|
# Date
|
|
|
|
{
|
|
|
|
text = ''cmd[update:3600000] echo -e "<b> "$(date +'%A, %-d. %B %Y')" </b>"'';
|
|
|
|
font_size = 35;
|
|
|
|
color = "rgb(${textColor})";
|
|
|
|
position = "0, -150";
|
|
|
|
halign = "center";
|
|
|
|
valign = "top";
|
|
|
|
shadow_passes = 3;
|
|
|
|
}
|
|
|
|
# Time
|
|
|
|
{
|
|
|
|
text = ''cmd[update:3600000] echo -e "<b><big> $(date +"%H:%M") </big></b>"'';
|
|
|
|
font_size = 94;
|
|
|
|
color = "rgb(${textColor})";
|
|
|
|
position = "0, -210";
|
|
|
|
halign = "center";
|
|
|
|
valign = "top";
|
|
|
|
shadow_passes = 3;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2025-01-13 12:37:50 +01:00
|
|
|
};
|
|
|
|
}
|