Skip to content

Instantly share code, notes, and snippets.

@afh
Forked from angel333/DWM-ON-OS-X.md
Created May 2, 2014 15:08
Show Gist options
  • Save afh/1dace6a40edeac19e892 to your computer and use it in GitHub Desktop.
Save afh/1dace6a40edeac19e892 to your computer and use it in GitHub Desktop.

Installing and configuring dwm on OS X (tested on Mountain Lion, Mavericks)

  1. Install XQuartz.

  2. Install dwm using Homebrew (or whatever):

    brew install dwm
    
  3. 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/*
    
  4. Run XQuartz, dwm should start.


It might be useful to tweak some XQuartz settings (just press ⌘,) like full screen, clipboard, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment