Skip to content
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

Add support for turning off monitor #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Aelnor
Copy link

@Aelnor Aelnor commented Sep 23, 2021

In my workflow, I'd like to be able to turn off a display when another one is present. For example, I don't need a laptop monitor when an external one is connected.

This PR introduces turn_off_when option which does exactly that. See example in README.md file. By the way, if you have better ideas for the name, I'm open for them.

In addition to that, I'm adding retries to the xrandr call because in my workflow they are necessary sometimes during suspend/wake up routines.

@Aelnor
Copy link
Author

Aelnor commented Oct 16, 2022

Is anyone interested in the feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant