-
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.
You can also hide the os x top bar by editing xquartz's plist.
sudo nano /Applications/Utilities/XQuartz.app/Contents/Info.plist
and add among the other keys
However, the space underneath the hidden bar is unusable. Using
Meta-b
retracts this space further. One step closer to fullscreen!