]> git.pld-linux.org Git - packages/AfterStep.git/blob - AfterStep.RunWM
- wmconfig outputdir changed to start/Applications
[packages/AfterStep.git] / AfterStep.RunWM
1 #!/bin/sh
2 #
3 # RunWM - this is a script used to launch window manager
4 #
5
6 if [ -x /usr/bin/afterstep ] ; then
7         mkdir -p $HOME/GNUstep/Library/AfterStep/start/Applications
8         cp -R /usr/share/afterstep/start/[!A]* \
9         $HOME/GNUstep/Library/AfterStep/start
10         wmconfig --output=afterstep \
11         --outputdir $HOME/GNUstep/Library/AfterStep/start/Applications \
12         --directories  2>/dev/null
13         # if this works, we stop here
14         eval "exec /usr/bin/afterstep"
15 else
16         cat <<EOF
17  WARNING: You selected AfterStep as your window manager, but your installation
18  of AfterStep does not appear to be functional. Either /usr/bin/afterstep
19  was not found or /usr/share/afterstep directory is incomplete.
20 EOF
21 fi
This page took 0.062614 seconds and 4 git commands to generate.