hypridle: use custom blur script #5
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
namespace,
|
namespace,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -24,7 +25,7 @@ in
|
||||||
general = {
|
general = {
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||||
ignore_dbus_inhibit = false;
|
ignore_dbus_inhibit = false;
|
||||||
lock_cmd = "hyprlock";
|
lock_cmd = "${pkgs.hyprlock-blur}/bin/hyprlock-blur";
|
||||||
};
|
};
|
||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
|
|
|
@ -31,6 +31,8 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
security.pam.services.hyprlock = { };
|
security.pam.services.hyprlock = { };
|
||||||
|
|
||||||
|
environment.systemPackages = [ hyprlock-blur ];
|
||||||
|
|
||||||
${namespace}.desktop.hyprland.settings = {
|
${namespace}.desktop.hyprland.settings = {
|
||||||
bind = [
|
bind = [
|
||||||
"$mod CTRL, l, exec, ${hyprlock-blur}/bin/hyprlock-blur"
|
"$mod CTRL, l, exec, ${hyprlock-blur}/bin/hyprlock-blur"
|
||||||
|
|
Loading…
Reference in a new issue