If you're interested, I created a rust implementaion of displayplacer called macdisp (https://github.com/noworrieseh/macdisp). It should be a drop-in replacement.
brew install noworrieseh/brews/macdisp
I have added the following additional capabilities:
- --json option for JSON output
- notch support
Currently looking at ways to further improve it.
Background:
Interesting journey here. I was using "Say No To Notch" and zNotch apps to manage the notch on my MacBook and they worked fine. I wanted to know how these tools accomplished this as both were closed source and I couldn't find an equivalent app. Eventually learned about the different resolution modes, played around with swift API's and then discovered displayplacer which allowed me to switch between these modes. It looked like there wasn't much activity here anymore, so I took this as the opportunity to learn rust and here we are.
Thanks for the inspiration!
If you're interested, I created a rust implementaion of displayplacer called macdisp (https://github.com/noworrieseh/macdisp). It should be a drop-in replacement.
brew install noworrieseh/brews/macdispI have added the following additional capabilities:
Currently looking at ways to further improve it.
Background:
Interesting journey here. I was using "Say No To Notch" and zNotch apps to manage the notch on my MacBook and they worked fine. I wanted to know how these tools accomplished this as both were closed source and I couldn't find an equivalent app. Eventually learned about the different resolution modes, played around with swift API's and then discovered displayplacer which allowed me to switch between these modes. It looked like there wasn't much activity here anymore, so I took this as the opportunity to learn rust and here we are.
Thanks for the inspiration!