Update hypridle to use nix paths
This commit is contained in:
parent
147ef5daf0
commit
f6f42bd2c5
|
@ -45,18 +45,19 @@
|
||||||
settings =
|
settings =
|
||||||
let
|
let
|
||||||
hyprctl = "${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl";
|
hyprctl = "${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl";
|
||||||
|
hyprlock = "${config.programs.hyprlock.package}/bin/hyprlock";
|
||||||
in
|
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 = "${hyprlock}";
|
||||||
};
|
};
|
||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
{
|
{
|
||||||
timeout = 900;
|
timeout = 900;
|
||||||
on-timeout = "hyprlock";
|
on-timeout = "${hyprlock}";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 1200;
|
timeout = 1200;
|
||||||
|
|
Loading…
Reference in a new issue