Skip to content

Instantly share code, notes, and snippets.

@puccaso
Forked from angel333/DWM-ON-OS-X.md
Created August 29, 2022 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save puccaso/0ae7cd86044a7a51eb7eab4e20e0cb3a to your computer and use it in GitHub Desktop.
Save puccaso/0ae7cd86044a7a51eb7eab4e20e0cb3a to your computer and use it in GitHub Desktop.
Updated for .xinitrc.d and $USERWM, simplified

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