Copy purify.fvwm2rc to /tmp - add instructions in README.
[fvwm.git] / modules / FvwmSaveDesk / example / xinitrc
blobdd9a46e2fb2dcbc321f20f4317390e813c6570cd
1 #!/bin/sh
3 userresources=$HOME/.Xresources
4 usermodmap=$HOME/.Xmodmap
5 sysresources=/usr/lib/X11/xinit/.Xresources
6 sysmodmap=/usr/lib/X11/xinit/.Xmodmap
8 # merge in defaults and keymaps
10 if [ -f $sysresources ]; then
11 xrdb -merge $sysresources
14 if [ -f $sysmodmap ]; then
15 xmodmap $sysmodmap
18 if [ -f $userresources ]; then
19 xrdb -merge $userresources
22 if [ -f $usermodmap ]; then
23 xmodmap $usermodmap
26 fvwm2 -cmd "FvwmM4 -m4-prefix -m4opt -I$HOME $HOME/.fvwm2rc"