We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dea7c2 commit 3b7e055Copy full SHA for 3b7e055
nix/hm-module.nix
@@ -27,6 +27,11 @@ in {
27
type = bool;
28
default = false;
29
};
30
+ grace = mkOption {
31
+ description = "Seconds to wait for user input before locking";
32
+ type = int;
33
+ default = 0;
34
+ };
35
hide_cursor = mkOption {
36
description = "Hides the cursor instead of making it visible";
37
@@ -249,6 +254,7 @@ in {
249
254
xdg.configFile."hypr/hyprlock.conf".text = ''
250
255
general {
251
256
disable_loading_bar = ${boolToString cfg.general.disable_loading_bar}
257
+ grace = ${toString cfg.general.grace}
252
258
hide_cursor = ${boolToString cfg.general.hide_cursor}
253
259
}
260
0 commit comments