fix: Hyprlock
This commit is contained in:
parent
240d02a58e
commit
fa809ab749
3 changed files with 36 additions and 36 deletions
|
|
@ -7,11 +7,24 @@
|
||||||
root = nixosVista;
|
root = nixosVista;
|
||||||
cfg = root.hyprlock;
|
cfg = root.hyprlock;
|
||||||
|
|
||||||
hyprlockConfig = ''
|
|
||||||
|
in {
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
|
||||||
|
|
||||||
|
|
||||||
|
programs.hyprlock = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
disable_loading_bar = true;
|
# does not exsist:
|
||||||
grace = 0;
|
# disable_loading_bar = true;
|
||||||
|
# grace = 0;
|
||||||
hide_cursor = true;
|
hide_cursor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -84,18 +97,10 @@
|
||||||
valign = "center";
|
valign = "center";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
'';
|
|
||||||
in {
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
|
|
||||||
|
|
||||||
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = hyprlockConfig + "\n" + cfg.extraConfig;
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,6 @@
|
||||||
preset = "default";
|
preset = "default";
|
||||||
extra = [
|
extra = [
|
||||||
# "bind = SUPER, RETURN, exec, kitty"
|
# "bind = SUPER, RETURN, exec, kitty"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -119,10 +116,8 @@ customBottom = ''
|
||||||
kb_options = grp:alt_shift_toggle
|
kb_options = grp:alt_shift_toggle
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
hyprlock.enable = true;
|
hyprlock.enable = true;
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue