Hyprland - How to disable sleep?

Hello everyone,
Trying out Hyprland on Garuda and discovered that hypridle is disrupting my downloads. I tried adding the line "inhibit_sleep=0 under hypridle in the hyprconfig

exec-once = hypridle
inhibit_sleep = 0

did not work.

I want to keep the lock screen but prevent hypridle from killing by downloads.

hypridle – Hyprland Wiki

3 makes your system wait until the session gets locked by a lock screen app. This works with all wayland session-lock apps.
2 (auto) selects either 3 or 1 depending on whether hypridle detects if you want to launch hyprlock before sleep.
1 makes the system wait until hypridle launched general:before_sleep_cmd.
0 disables sleep inhibition.

0 sounds like the opposite of what you want.

Did you try activating the idle inhibitor in the Waybar? It’s the icon that looks like an eyeball.

5 Likes

You don’t need to do any special configurations for it .
if you are using latest ISO from download page then , activate idle inhibitor from waybar and then press mod + shift + e and then select lock screen

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.