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

@ -7,7 +7,7 @@
cfg = config.nixosVista;
in {
config = lib.mkIf cfg.enable {
# warnings = [">>> fonts ACTIVE <<<"];
# warnings = [">>> fonts ACTIVE <<<"];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono

View file

@ -85,9 +85,6 @@
preset = "default";
extra = [
# "bind = SUPER, RETURN, exec, kitty"
];
};
@ -101,7 +98,7 @@
];
};
windowRules = {
windowRules = {
preset = "default";
extra = [
@ -111,19 +108,17 @@ windowRules = {
"windowrule = pin 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
# "windowrule = nofullscreen 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
];
};
};
customBottom = ''
customBottom = ''
input {
kb_layout = de,us
kb_options = grp:alt_shift_toggle
}
'';
'';
};
hyprlock.enable = true;
hyprlock.enable = true;
##########################################################
# Waybar