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 a keyboard shortcut or Shortcut intent that allows for the primary display to be mirrored to the attached displays. #2763

Open
dhnoronha opened this issue Mar 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@dhnoronha
Copy link

In MacOS "Command + F1" can be used to mirror the extended display to the primary display but there isn't an option that would allow for us to do the opposite. Please add a keyboard shortcut or Shortcuts intent that would allow for the primary display to be mirrored to the attached display.

@waydabber
Copy link
Owner

I can add a feature like that.

Meanwhile there is a CLI command for that, you can easily use this in Shortcuts with betterdisplaycli. Simply add a "Run Shell Script" intent (available under Scripting) and use the mirror command.

Some examples on how to configure mirroring:

Mirrors myDisplay to myDisplay2

betterdisplaycli set -namelike=myDisplay -mirror=on -targetnamelike=myDisplay2

Mirrors myDisplay to myDisplay2 and myDisplay3

betterdisplaycli set -namelike=myDisplay -mirror=on -targetnamelike=myDisplay2,myDisplay3

Turn mirroring off

betterdisplaycli set -namelike=myDisplay -mirror=on -targetnamelike=myDisplay2

Gets mirror state (on or off)

betterdisplaycli get -namelike=myDisplay -mirror

If you want to mirror the primary display, you can use

@waydabber waydabber added the enhancement New feature or request label Mar 14, 2024
@dhnoronha
Copy link
Author

Oh Great! I hadn't realized that was an option. I'll try that now. Thank you for considering the enhancement.

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

No branches or pull requests

2 participants