.fvwm/xinit
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 24 Feb 2015 00:36:12 +0200
changeset 733 32379c87626c
permissions -rw-r--r--
Reduced .xinit to test Fvwm in Xnest.

#!/bin/bash

# To test fvwm. To run with Xnest use:
#
#   $ xinit ~/.fvwm/xinit -- `command -v Xnest` :1
#
# or:
#
#   $ xinit ~/.fvwm/xinit -- `command -v Xephyr` :1

[[ -f ~/.env ]] && . ~/.env || :
[[ -f ~/.env.local ]] && . ~/.env.local || :

[[ -f ~/.Xdefaults ]] && xrdb -merge ~/.Xdefaults || :

xsetroot -mod 2 2 -fg gray70 -bg gray60
fvwm -cmd "Module FvwmM4 -m4-prefix -m4-prefix-defines $HOME/.fvwm/config" &
exec xterm -geometry 80x42 -name "xinitrc" -e bash -i