36 lines
677 B
Nix
36 lines
677 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.modules.hyprland;
|
|
colors = config.lib.stylix.colors;
|
|
in
|
|
{
|
|
config = mkIf cfg.enable {
|
|
programs.hyprlock = {
|
|
enable = true;
|
|
settings = {
|
|
general = {
|
|
hide_cursor = true;
|
|
ignore_empty_input = true;
|
|
};
|
|
|
|
label = [
|
|
{
|
|
monitor = "";
|
|
text = "$TIME12";
|
|
position = "0, 100";
|
|
halign = "center";
|
|
valign = "center";
|
|
font_size = 48;
|
|
font_family = "${config.stylix.fonts.sansSerif.name}";
|
|
color = "rgb(${colors.base05})";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
} |