Update hypridle to use nix paths

This commit is contained in:
Evie Litherland-Smith 2024-10-25 13:40:24 +01:00
parent 147ef5daf0
commit f6f42bd2c5

View file

@ -45,18 +45,19 @@
settings =
let
hyprctl = "${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl";
hyprlock = "${config.programs.hyprlock.package}/bin/hyprlock";
in
{
general = {
after_sleep_cmd = "${hyprctl} dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
lock_cmd = "${hyprlock}";
};
listener = [
{
timeout = 900;
on-timeout = "hyprlock";
on-timeout = "${hyprlock}";
}
{
timeout = 1200;