#!/bin/sh # if no user configuration if [ ! -d ~/.xmonad ]; then # display the manpage xterm -e man xmonad & # try to configure for a gnome session if [ "$DESKTOP_SESSION" = "xmonad-gnome" ]; then if ghc-pkg latest xmonad-contrib >/dev/null; then mkdir ~/.xmonad cat > ~/.xmonad/xmonad.hs <