Files
2026-08-12 15:03:36 +07:00

48 lines
1.2 KiB
Lua

-- Generated by hyprconf2lua v1.4.0
-- https://github.com/Prateek-squadron/hyprconf2lua
-- Manual review may be needed for complex directives
---@module 'hl'
hl.config({
general = {
lock_cmd = "pidof hyprlock || hyprlock",
before_sleep_cmd = "loginctl lock-session",
after_sleep_cmd = "hyprctl dispatch dpms on",
},
})
hl.config({
listener = {
timeout = 150,
on_timeout = "brightnesctl -s set 10",
on_resume = "brightnesctl -r",
},
})
-- NOTE: Section 'listener' may be a plugin or custom section; verify the output
hl.config({
listener = {
timeout = 6000,
on_timeout = "loginctl lock-session",
},
})
-- NOTE: Section 'listener' may be a plugin or custom section; verify the output
hl.config({
listener = {
timeout = 7200,
on_timeout = "hyprctl dispatch dpms off",
on_resume = "hyprctl dispatch dpms on",
},
})
-- NOTE: Section 'listener' may be a plugin or custom section; verify the output
hl.config({
listener = {
timeout = 8000,
on_timeout = "systemctl suspend",
},
})
-- NOTE: Section 'listener' may be a plugin or custom section; verify the output