From ce809512100c267238d6f57bc52b73ff2e7e4f85 Mon Sep 17 00:00:00 2001 From: "Love, Trevor S" Date: Fri, 22 May 2026 11:34:10 -0700 Subject: [PATCH] fix: hypridle dispatch commands for Lua-based Hyprland --- dots/.config/hypr/hypridle.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/.config/hypr/hypridle.conf b/dots/.config/hypr/hypridle.conf index 85ea6186f..68a50b20b 100644 --- a/dots/.config/hypr/hypridle.conf +++ b/dots/.config/hypr/hypridle.conf @@ -5,7 +5,7 @@ $suspend_cmd = systemctl suspend || loginctl suspend general { lock_cmd = $lock_cmd before_sleep_cmd = loginctl lock-session - after_sleep_cmd = hyprctl dispatch global quickshell:lockFocus + after_sleep_cmd = hyprctl dispatch 'hl.dsp.global("quickshell:lockFocus")' inhibit_sleep = 3 } @@ -16,8 +16,8 @@ listener { listener { timeout = 600 # 10mins - on-timeout = hyprctl dispatch dpms off - on-resume = hyprctl dispatch dpms on + on-timeout = hyprctl dispatch 'hl.dsp.dpms(false)' + on-resume = hyprctl dispatch 'hl.dsp.dpms(true)' } listener {