nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit bbdecd9d61c7dff0d316ede22ecfde66d702b0d9
parent afd04f55b66865cb65d576355c6cfdd3687c1eb7
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Wed,  9 Sep 2026 14:26:24 +0100

Latest hyprland dispatch syntax

Diffstat:
Mhome/hypridle.nix | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/home/hypridle.nix b/home/hypridle.nix @@ -3,15 +3,15 @@ enable = true; settings = { general = { - after_sleep_cmd = "hyprctl dispatch dpms on"; + after_sleep_cmd = "hyprctl dispatch 'hl.dsp.dpms({ action = \"enable\" })'"; ignore_dbus_inhibit = false; lock_cmd = "hyprlock"; }; listener = [ { timeout = 300; - on-timeout = "hyprctl dispatch dpms off"; - on-resume = "hyprctl dispatch dpms on"; + on-timeout = "hyprctl dispatch 'hl.dsp.dpms({ action = \"disable\" })'"; + on-resume = "hyprctl dispatch 'hl.dsp.dpms({ action = \"enable\" })'"; } ]; };