general { lock_cmd = ~/.config/hypr/bin/lockscreen before_sleep_cmd = loginctl lock-session ignore_dbus_inhibit = false ignore_systemd_inhibit = false } listener { timeout = 300 on-timeout = loginctl lock-session } listener { timeout = 60 on-timeout = ~/.config/hypr/bin/dimscreen d on-resume = ~/.config/hypr/bin/dimscreen r }