2009-05-06 21:19:58 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2011-05-17 09:19:12 +00:00
|
|
|
# if no user configuration
|
2009-05-06 21:19:58 +00:00
|
|
|
if [ ! -d ~/.xmonad ]; then
|
2011-05-17 09:19:12 +00:00
|
|
|
# display the manpage
|
2011-06-22 08:02:51 +00:00
|
|
|
xterm -e man xmonad &
|
2011-05-12 09:53:28 +00:00
|
|
|
|
2011-12-03 05:45:18 +00:00
|
|
|
# add a desktop friendly config if possible
|
|
|
|
if [ -r /usr/share/xmonad/xmonad.hs ]; then
|
|
|
|
mkdir ~/.xmonad
|
|
|
|
cp -p /usr/share/xmonad/xmonad.hs ~/.xmonad
|
|
|
|
else
|
|
|
|
echo "xmonad-start: install xmonad-config to customize"
|
2011-05-12 09:53:28 +00:00
|
|
|
fi
|
2009-05-06 21:19:58 +00:00
|
|
|
fi
|
|
|
|
|
2011-05-17 09:19:12 +00:00
|
|
|
if [ -r ~/.xmonad/session ]; then
|
|
|
|
sh ~/.xmonad/session
|
|
|
|
fi
|
|
|
|
|
2011-05-12 09:53:28 +00:00
|
|
|
xmonad
|