mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -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 {
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user