fix: fix hypridle dpms to lua

This commit is contained in:
wyj
2026-06-30 02:52:47 -04:00
parent b1534e45c4
commit 320ad9df0f
2 changed files with 4 additions and 10 deletions
+2 -5
View File
@@ -10,11 +10,8 @@ general {
# dpms # dpms
listener { listener {
# DPMS TIMEOUT
timeout = 660 timeout = 660
# DPMS ONTIMEOUT on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'
on-timeout = hyprctl dispatch dpms off on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
# DPMS ONRESUME
on-resume = hyprctl dispatch dpms on
} }
+2 -5
View File
@@ -30,12 +30,9 @@ listener {
# dpms # dpms
listener { listener {
# DPMS TIMEOUT
timeout = 660 timeout = 660
# DPMS ONTIMEOUT on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'
on-timeout = hyprctl dispatch dpms off on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
# DPMS ONRESUME
on-resume = hyprctl dispatch dpms on
} }
# Suspend # Suspend