author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 24 Feb 2015 00:36:12 +0200 | |
changeset 733 | 32379c87626c |
permissions | -rw-r--r-- |
733
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
#!/bin/bash |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
# To test fvwm. To run with Xnest use: |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
# |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
# $ xinit ~/.fvwm/xinit -- `command -v Xnest` :1 |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
# |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
# or: |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
# |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
# $ xinit ~/.fvwm/xinit -- `command -v Xephyr` :1 |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
|
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
[[ -f ~/.env ]] && . ~/.env || : |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
[[ -f ~/.env.local ]] && . ~/.env.local || : |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
|
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
[[ -f ~/.Xdefaults ]] && xrdb -merge ~/.Xdefaults || : |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
|
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
xsetroot -mod 2 2 -fg gray70 -bg gray60 |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
fvwm -cmd "Module FvwmM4 -m4-prefix -m4-prefix-defines $HOME/.fvwm/config" & |
32379c87626c
Reduced .xinit to test Fvwm in Xnest.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
exec xterm -geometry 80x42 -name "xinitrc" -e bash -i |