mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix: hypridle dispatch commands for Lua-based Hyprland
This commit is contained in:
@@ -5,7 +5,7 @@ $suspend_cmd = systemctl suspend || loginctl suspend
|
|||||||
general {
|
general {
|
||||||
lock_cmd = $lock_cmd
|
lock_cmd = $lock_cmd
|
||||||
before_sleep_cmd = loginctl lock-session
|
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
|
inhibit_sleep = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,8 +16,8 @@ listener {
|
|||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 600 # 10mins
|
timeout = 600 # 10mins
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch 'hl.dsp.dpms(false)'
|
||||||
on-resume = hyprctl dispatch dpms on
|
on-resume = hyprctl dispatch 'hl.dsp.dpms(true)'
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
|
|||||||
Reference in New Issue
Block a user