-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screensaver, Suspend/Hibernate and hook to lock after then. #387
Comments
no plan atm for first-party tools like that. |
@vaxerski can you suggest a good jumping off point for writing some docs for this? Happy to take a look. |
@AdsonCicilioti I believe the hypridle package supports what you're asking about. It uses a concept of Installation
Configuration
Then use your favorite text editor to add the configuration. If you just want to enter a lockscreen after a specific amount of time, you could make the conf file as simple as: general{
lock_cmd = piodf hyprlock || hyprlock
}
listener{
timeout = 300
on-timeout = loginctl lock-session
on-resume = notify-send "welcome back!"
} NOTE: This step assumes that you have already installed and configured hyprlock, the hypr ecosystem's simple, yet multi-threaded and GPU-accelerated screen locking utility. Additionally, the "welcome back!" message will only display if you have a notification manager installed and enabled. My personal preference (chosen for it's aesthetic) is sway-nc You also mentioned Let me know if this response sufficiently answers your inquiry, and if so, I recommend we close this issue. |
Also it should be noted that the full hyprland ecosystem wiki can be found here: It might be a worthwhile consideration to add this URL to the main page of the hyprland documentation, since a lot of feature inquiries about "does hyprland offer..." could be answered simply by pointing users to the larger hypr ecosystem. |
Edit: This link is already present on the main index page and included in this repo's pages: |
Hey guys!
Is there any support or plan from Hyprland to facilitate or implement any screensavers?
Could you address in the documentation an example of how to deal with screensaver/suspend/hibernation and how to call a screen locker when returning from these states?
Thank you and congratulations on the great work with Hyprland!
The text was updated successfully, but these errors were encountered: