fix: Hyprlock

This commit is contained in:
Peritia 2026-03-02 16:42:36 +01:00
parent 240d02a58e
commit fa809ab749
3 changed files with 36 additions and 36 deletions

View file

@ -7,11 +7,24 @@
root = nixosVista;
cfg = root.hyprlock;
hyprlockConfig = ''
in {
config = lib.mkIf cfg.enable {
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
programs.hyprlock = {
enable = true;
settings = {
general = {
disable_loading_bar = true;
grace = 0;
# does not exsist:
# disable_loading_bar = true;
# grace = 0;
hide_cursor = true;
};
@ -84,18 +97,10 @@
valign = "center";
}
];
'';
in {
config = lib.mkIf cfg.enable {
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
programs.hyprlock = {
enable = true;
extraConfig = hyprlockConfig + "\n" + cfg.extraConfig;
};
};
};
}

View file

@ -85,9 +85,6 @@
preset = "default";
extra = [
# "bind = SUPER, RETURN, exec, kitty"
];
};
@ -119,10 +116,8 @@ customBottom = ''
kb_options = grp:alt_shift_toggle
}
'';
};
hyprlock.enable = true;
##########################################################