xmonad/xmonad-start

22 lines
425 B
Plaintext
Raw Normal View History

2009-05-06 21:19:58 +00:00
#!/bin/sh
# if no user configuration
2009-05-06 21:19:58 +00:00
if [ ! -d ~/.xmonad ]; then
# display the manpage
xterm -e man xmonad &
# 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"
fi
2009-05-06 21:19:58 +00:00
fi
if [ -r ~/.xmonad/session ]; then
sh ~/.xmonad/session
fi
xmonad