Tiling window manager for Mac OS X.
Haskell Objective-C C
Pull request Compare This branch is 4 commits ahead of arnihermann:master.
Permalink
Failed to load latest commit information.
OSXMonad Add 'currentEvent' to XConf Nov 12, 2012
src Sync OS X's and XMonad's focused window Oct 7, 2012
.gitignore
LICENSE Add README for instructions, patch and license Jul 26, 2012
README.md Fixing typo Nov 1, 2012
Setup.hs Cabalise Jul 22, 2012
osxmonad.cabal
xmonad.patch Add README for instructions, patch and license Jul 26, 2012

README.md

osxmonad

This is a library which allows XMonad to manage Mac OS X windows.

Status

  • Only attached hook is layoutHook
  • No workspaces
  • No borders
  • No focusFollowsMouse

Installation

We need XMonad's compilation step to include the -framework Cocoa flag to GHC. This repository includes a xmonad.patch (1 line diff) that you must apply to the XMonad source:

git clone git://github.com/pufuwozu/osxmonad.git
darcs get http://code.haskell.org/xmonad
cd xmonad
darcs apply ../osxmonad/xmonad.patch
cabal configure
cabal install
cd ../osxmonad
cabal configure
cabal install

Note: Mountain Lion users will have to download and install XQuartz.

Configuration

Create ~/.xmonad/xmonad.hs:

import XMonad
import OSXMonad.Core

main = osxmonad defaultConfig {
         modMask = mod1Mask .|. mod4Mask,
         keys = osxKeys
       }

Now we can run xmonad to have our windows managed.

License

BSD-3