hypridle: use custom blur script #5

Merged
Daholli merged 1 commit from hypridle-use-blur into main 2024-11-14 21:16:31 +01:00
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"