-
Install XQuartz.
-
Install dwm using Homebrew (or whatever):
brew install dwm
-
Create a
xinitrc.d
script for dwm:mkdir ~/.xinitrc.d echo "USERWM=/usr/local/bin/dwm" > ~/.xinitrc.d/00-dwm.sh chmod +x ~/.xinitrc.d/*
-
Run XQuartz, dwm should start.
It might be useful to tweak some XQuartz settings (just press ⌘,) like full screen, clipboard, etc.
Very helpful, thanks! 👍