.fvwm/xinit
changeset 733 32379c87626c
equal deleted inserted replaced
732:5168dff8f1eb 733:32379c87626c
       
     1 #!/bin/bash
       
     2 
       
     3 # To test fvwm. To run with Xnest use:
       
     4 #
       
     5 #   $ xinit ~/.fvwm/xinit -- `command -v Xnest` :1
       
     6 #
       
     7 # or:
       
     8 #
       
     9 #   $ xinit ~/.fvwm/xinit -- `command -v Xephyr` :1
       
    10 
       
    11 [[ -f ~/.env ]] && . ~/.env || :
       
    12 [[ -f ~/.env.local ]] && . ~/.env.local || :
       
    13 
       
    14 [[ -f ~/.Xdefaults ]] && xrdb -merge ~/.Xdefaults || :
       
    15 
       
    16 xsetroot -mod 2 2 -fg gray70 -bg gray60
       
    17 fvwm -cmd "Module FvwmM4 -m4-prefix -m4-prefix-defines $HOME/.fvwm/config" &
       
    18 exec xterm -geometry 80x42 -name "xinitrc" -e bash -i