hypridle: use custom blur script #5
|
@ -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 = [
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue