22 lines
425 B
Bash
22 lines
425 B
Bash
#!/bin/sh
|
|
|
|
# if no user configuration
|
|
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
|
|
fi
|
|
|
|
if [ -r ~/.xmonad/session ]; then
|
|
sh ~/.xmonad/session
|
|
fi
|
|
|
|
xmonad
|