fix: fix hypridle dpms to lua
This commit is contained in:
+2
-5
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user