hypridle: use custom blur script

This commit is contained in:
Christoph Hollizeck 2024-11-14 21:15:29 +01:00
parent e348e164bc
commit 6f82cf8021
Signed by: Daholli
GPG key ID: 1763BB530F50279E
2 changed files with 4 additions and 1 deletions

View file

@ -2,6 +2,7 @@
config,
lib,
namespace,
pkgs,
...
}:
let
@ -24,7 +25,7 @@ in
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
lock_cmd = "${pkgs.hyprlock-blur}/bin/hyprlock-blur";
};
listener = [

View file

@ -31,6 +31,8 @@ in
config = mkIf cfg.enable {
security.pam.services.hyprlock = { };
environment.systemPackages = [ hyprlock-blur ];
${namespace}.desktop.hyprland.settings = {
bind = [
"$mod CTRL, l, exec, ${hyprlock-blur}/bin/hyprlock-blur"