Skip to content

Instantly share code, notes, and snippets.

@leecrosdale
Last active September 27, 2025 13:24
Show Gist options
  • Select an option

  • Save leecrosdale/a453468e08e5499d1bd58fd1060cd123 to your computer and use it in GitHub Desktop.

Select an option

Save leecrosdale/a453468e08e5499d1bd58fd1060cd123 to your computer and use it in GitHub Desktop.
Disables the AMD gpu on older macbooks that cause issues with Omarchy / Chromium
#!/bin/bash
echo "blacklist radeon" | sudo tee /etc/modprobe.d/blacklist-radeon.conf
echo "blacklist amdgpu" | sudo tee /etc/modprobe.d/blacklist-amdgpu.conf
mkinitcpio -P
echo 'Reboot!'
#reboot
# I also discovered that for some reason it doesn't pick up the monitor properly, so you need to goto
# .config/hypr/monitors.conf and set
# env = GDK_SCALE,1.5
# monitor= Unknown-1,preferred,auto,1.5
# I found 1.5 was a good scale for the screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment