Add laptop display mirror toggle + hotkey#5462
Conversation
Co-authored-by: Copilot <copilot@github.com>
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Issue: #5457 |
|
How does this situation occur? Why would you want to mirror an internal display if you're also closing that display? |
I have my internal display mirrored at all times for giving presentations with a projector. But I also have an external display at my desk which I plug into and then close my laptop. |
|
Ahhh. I see. I think we should do two things: 1) Fix the crash bug in Hyprland (I alerted vaxry) and 2) Have a toggle for mirroring like we do for turning the internal display on/off. |
How would a toggle work in regards to multiple outputs? Mirror the internal display to all of them? |
|
Yes, was thinking that again we treat the internal monitor as authoritative, mirror to everything that's connected. 9/10 times it'll just be a projector or a single extra monitor anyway. |
…nal display" This reverts commit e20b3da.
- Implement `omarchy-hyprland-monitor-internal-mirror` to dynamically mirror the internal eDP display to external monitor. - Update `omarchy-hyprland-monitor-internal` to prevent disabling the laptop screen if mirroring is currently active. - Add "Mirror Display" toggle to omarchy hardware Menu
|
Updated as Suggested; works pretty good on my end. |
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added a check to see if any monitor is mirroring the internal display. If mirroring is detected, the script stops before disabling the screen.