macdisp (sysutils/macdisp) Updated: 6 days, 3 hours ago Add to my watchlist
macOS display configuration utilitymacdisp is a Rust implementation of displayplacer with enhanced features. Configure macOS display settings from the command line, including resolution, refresh rate, position, rotation, and mirroring. Includes JSON output for scripting and MacBook Pro notch management. Uses DisplayServices private framework when available, with automatic fallback to CoreGraphics.
Version: 0.2.1 License: MIT
GitHub
| Maintainers | noworrieseh |
| Categories | sysutils |
| Homepage | https://github.com/noworrieseh/macdisp |
| Platforms | {darwin >= 17} |
| Variants | - |
"macdisp" depends on
lib (1)
build (4)
Ports that depend on "macdisp"
No ports
Port notes
macdisp - macOS Display Configuration Utility
Usage Examples:
${prefix}/bin/macdisp list # List all displays
${prefix}/bin/macdisp list --json # List as JSON
${prefix}/bin/macdisp modes 1 # Show available modes
${prefix}/bin/macdisp modes 1 --json # Show modes as JSON
${prefix}/bin/macdisp notch hide # Hide MacBook Pro notch
${prefix}/bin/macdisp notch show # Show MacBook Pro notch
${prefix}/bin/macdisp notch toggle # Toggle notch visibility
Configure Displays:
${prefix}/bin/macdisp "id:1 res:1920x1080 hz:60 color_depth:8 scaling:on origin:(0,0)"
Multiple Displays:
${prefix}/bin/macdisp "id:1 res:2560x1440 hz:60 origin:(0,0)" \
"id:2 res:1920x1080 hz:60 origin:(2560,0)"
For more information: https://github.com/noworrieseh/macdisp
Port Health:
Loading Port Health