enable lockscreen
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
nixpkgs.config = {
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
:space-evenly false
|
||||
(button
|
||||
:class "${idle_inhibitor == 'start' ? 'idleOn' : 'idleOff' }"
|
||||
:onclick "systemctl --user is-active idle-inhibitor.service && systemctl --user stop idle-inhibitor.service || systemctl --user start idle-inhibitor.service"
|
||||
:onclick "systemctl is-active idle-inhibitor.service && systemctl stop idle-inhibitor.service || systemctl start idle-inhibitor.service"
|
||||
(label :text "${idle_inhibitor == 'start' ? '' : '' }"))))
|
||||
|
||||
;; /-- Audio -->
|
||||
@@ -196,9 +196,6 @@
|
||||
:class "text"
|
||||
:text "${date}")))
|
||||
|
||||
|
||||
|
||||
|
||||
;; /-- River State -->
|
||||
|
||||
(defvar ws1 "ws-empty")
|
||||
@@ -253,6 +250,3 @@
|
||||
(label
|
||||
:class "text separator"
|
||||
:text "⦁"))
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,6 +31,17 @@
|
||||
blur_size = 3;
|
||||
}
|
||||
];
|
||||
|
||||
auth = {
|
||||
fingerprint = {
|
||||
enabled = true;
|
||||
# Optional: Customize messages
|
||||
ready_message = "(Scan fingerprint to unlock)";
|
||||
present_message = "Scanning fingerprint";
|
||||
retry_delay = 250;
|
||||
};
|
||||
};
|
||||
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
|
||||
@@ -8,14 +8,16 @@
|
||||
lock_cmd = "/run/current-system/sw/bin/pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock";
|
||||
before_sleep_cmd = "/run/current-system/sw/bin/loginctl lock-session";
|
||||
};
|
||||
listener = [{
|
||||
timeout = 300;
|
||||
on-timeout = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
}{
|
||||
timeout = 600;
|
||||
on-timeout = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}];
|
||||
listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user