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
Showing only changes of commit 6f82cf8021 - Show all commits

View file

@ -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 = [

View file

@ -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"