]> git.pld-linux.org Git - packages/AfterStep.git/blobdiff - AfterStep.RunWM
- xinitrc 3.0 xconfigs for window managers
[packages/AfterStep.git] / AfterStep.RunWM
diff --git a/AfterStep.RunWM b/AfterStep.RunWM
new file mode 100644 (file)
index 0000000..b786ad7
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# RunWM - this is a script used to launch window manager
+#
+
+if [ -x /usr/X11R6/bin/afterstep ] ; then
+       mkdir -p $HOME/GNUstep/Library/AfterStep
+       wmconfig --output=afterstep --directories  2>/dev/null
+       # if this works, we stop here
+       eval "exec /usr/X11R6/bin/afterstep"
+else
+       cat <<EOF
+ WARNING: You selected AfterStep as your window manager, but your installation
+ of AfterStep does not appear to be functional. Either /usr/X11R6/bin/afterstep
+ was not found or /usr/share/afterstep directory is incomplete.
+EOF
+fi
This page took 0.088658 seconds and 4 git commands to generate.