From 320ad9df0f290f3494fb661fa4831a293068c69a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 30 Jun 2026 02:52:47 -0400 Subject: [PATCH] fix: fix hypridle dpms to lua --- hypridle-ATRI.conf | 7 ++----- hypridle.conf | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/hypridle-ATRI.conf b/hypridle-ATRI.conf index 9e5d26b..4bd1051 100644 --- a/hypridle-ATRI.conf +++ b/hypridle-ATRI.conf @@ -10,11 +10,8 @@ general { # dpms listener { - # DPMS TIMEOUT timeout = 660 - # DPMS ONTIMEOUT - on-timeout = hyprctl dispatch dpms off - # DPMS ONRESUME - on-resume = hyprctl dispatch dpms on + on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' + on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' } diff --git a/hypridle.conf b/hypridle.conf index 9c37adb..b059ae8 100644 --- a/hypridle.conf +++ b/hypridle.conf @@ -30,12 +30,9 @@ listener { # dpms listener { - # DPMS TIMEOUT timeout = 660 - # DPMS ONTIMEOUT - on-timeout = hyprctl dispatch dpms off - # DPMS ONRESUME - on-resume = hyprctl dispatch dpms on + on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' + on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' } # Suspend