hyprwm / hypridle

Hyprland's idle daemon
BSD 3-Clause "New" or "Revised" License
404 stars 25 forks source link

Best practice configuration for suspend on laptop and desktop pc #28

Closed mylinuxforwork closed 8 months ago

mylinuxforwork commented 8 months ago

Thanks for your great work on hypridle.

Can you share a best practice setup for starting hyprlock and suspend mode for desktops and laptops on Arch?

Would be super helpful for many users.

vaxerski commented 8 months ago

I don't think there exists a best practice?

dpms off for a screensaver, systemctl suspend for a suspend, I guess?

I don't use suspend, my laptop automatically does it when lid is closed.

mylinuxforwork commented 8 months ago

I think a working example configuration covering hyprlock and suspend with a proposal from your side would be super helpful for many users. This is currently the most used use case I would guess.

vaxerski commented 8 months ago

that's already there:

https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/#listeners

mylinuxforwork commented 8 months ago

Awesome. Thank you.

znd4 commented 8 months ago

that's already there: https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/#listeners

It could be worth linking to this from the README (for dummies like me, who didn't understand that you need to define a listener for this to do anything)