Update hypridle to use nix paths
This commit is contained in:
parent
147ef5daf0
commit
f6f42bd2c5
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue