-
Notifications
You must be signed in to change notification settings - Fork 175
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
Is it possible to turn off the screen? #455
Comments
It will be possible once I implement #444, I plan to do that soon and I'll update this issue with an example. |
Awesome, thanks! |
Hmm, so I implemented the protocol, the situation is still not the best, but I think you can achieve what you want. So basically you can use swayidle + a client to turn monitors on and off from here: swaywm/wlroots#2202. Together everything looks like:
Obviously, you can change swaylock to any command you'd like. |
Hi! |
@qwuy1290 The command is part of the wlroots examples. No idea if it's packaged for Arch; might need to be built from source |
Use case: sometimes I will walk away from my laptop and would like to turn off the screen to reduce batter usage.
GNOME and KDE Plasma both allow you to do this with a keyboard shortcut. I've seen seen the idle plugin, but I am not sure if it does actually do this. Plus, I never use any idle mechanisms, as I prefer to press the button myself.
The text was updated successfully, but these errors were encountered: