Can't stop hyprland from locking itself after not using for a certain time

So i’m completely new to linux in general and i’ve installed endevouros with caelestia which runs on hyprland
The problem is i can’t stop it from going to sleep every few minutes which is terrible for gaming
I’ve tried editing the hypridle.conf which now look like that :
general {
lock_cmd = caelestia shell lock lock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}

listener {
timeout = 36000 # 10hours
on-timeout = loginctl lock-session
}

listener {
timeout = 36000 # 10hours
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}

listener {
timeout = 36000 # 10hours
on-timeout = systemctl suspend-then-hibernate || loginctl suspend
}

I changed the numbers for it to like super long but it didn’t change anything i also tried to put that instead :

misc {

disable_autosleep = true

disable_dpms = true

}

which didn’t work either, also tried to temper with hyprland.conf by setting the

allow_session_lock_restore = true

to false

i’ m really sorry if i look dumb or am insufferable by my incompetence but i’ve ran out of idea to make things work

Just comment out hypridle from starting in your configs

exec-once = hypridle

i already tried just wiping the file content and it didn’t work so i’m not sure that this will do the trick, but ill try it we never know

If you don’t start hypridle then it will never go idle.

ok is there any way i can like try it out without having to wait everytime because i like already tried deleting the file and it still went idle idk why, maybe i should reboot in between ?

IT WORKS

i just needed to restart i can’t believe i wasted 2 hours of my life for a reboot lol