Skip to content

Instantly share code, notes, and snippets.

View elstgav's full-sized avatar
🤓

Gavin Elster elstgav

🤓
  • Seattle
View GitHub Profile
@elstgav
elstgav / mtga-fix.plugin.zsh
Last active March 29, 2025 15:26 — forked from april/arena-macos-full-screen-fixes.sh
Fixes Magic Arena's broken full screen implementation on macOS
# Fixes the fullscreen resolution for Magic the Gathering Arena on macOS.
#
# MTGA doesn’t account for the MacBook Pro notch, so it defaults to a resolution
# that’s too wide for the screen, and cuts off important information (like the
# stack). This script sets the resolution to a scaled 16:9 resolution that fits
# the screen.
#
# Forked from april/arena-macos-full-screen-fixes.sh
# https://gist.github.com/april/ef679cf5719cc5a2ba6a55da20869ffa
function mtga_fullscreen_fix {