]> git.pld-linux.org Git - packages/fvwm.git/commitdiff
- xinitrc 3.0 xconfigs for window managers
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 29 Aug 2000 14:07:21 +0000 (14:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fvwm.RunWM -> 1.1
    fvwm.wm_style -> 1.1

fvwm.RunWM [new file with mode: 0644]
fvwm.wm_style [new file with mode: 0644]

diff --git a/fvwm.RunWM b/fvwm.RunWM
new file mode 100644 (file)
index 0000000..d1e9699
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# RunWM - this is a script used to launch window manager
+#
+
+# first, find an M4-enabled config file (such as 
+# the one from AnotherLevel) for fvwm.
+RCFILE=""
+for tryfile in "$HOME/.fvwmrc.m4" "/etc/X11/AnotherLevel/fvwmrc.m4"; do
+       if [ -f "$tryfile" ]; then
+               RCFILE="$tryfile"
+               break
+       fi
+done
+
+# if it really exists, use it; if not, fvwm2 or fvwm95 will
+# automagically look for a config file in the regular places.
+if [ -n "$RCFILE" ]; then
+       FVWMOPTIONS="-f $RCFILE"
+else
+       FVWMOPTIONS=""
+fi
+
+# if this works, we stop here
+eval "exec /usr/X11R6/bin/fvwm ${FVWMOPTIONS}"
+cat >&2 <<EOF
+ WARNING: You selected Fvwm as your window manager, but your installation
+ does not appear to be functional. The executable /usr/X11R6/bin/fvwm was 
+ not found on your system.
+EOF
diff --git a/fvwm.wm_style b/fvwm.wm_style
new file mode 100644 (file)
index 0000000..6e8e0af
--- /dev/null
@@ -0,0 +1 @@
+fvwm
This page took 0.042967 seconds and 4 git commands to generate.