Post

Configuring Hyprland for Waybar under the Macbook Pro 14/16" notch (Asahi Linux)

Recently installed Asahi Linux on your shiny new MacBook Pro/Air (14/16 inch) (2021+), only to find that the notch is hidden by default? What if you want to copy the MacOS strategy of putting the menu bar there (we will use waybar).

  1. Enable the notch:

    1
    
    sudo grubby --args=appledrm.show_notch=1 --update-kernel=ALL
    
  2. Fix HyprLand changing your scaling (add this to your hyprland config - ~/.config/hypr/hyprland.conf):

    1
    2
    3
    
    debug {
        disable_scale_checks = true
      }
    
  3. Reboot

  4. Fix your scaling. You can either do this in the hyprland config file, or use a tool like ngw-displays

  5. Ensure waybar is set to the top position and on the back layer:

    1
    2
    3
    4
    5
    
    {
      "layer": "bottom",
      "position": "top",
      <rest of your config here...>
    }
    
  6. Done.


Removal

Revert these changes:

1
sudo grubby --remove-args=appledrm.show_notch=1 --update-kernel=ALL

And remove the modified lines from your hyprland config.

This post is licensed under CC BY 4.0 by the author.