| 1 |
# Menu for different ways to run away ;) |
| 2 |
# Created by: Pawel "NEMO" Drygas <[email protected]> |
| 3 |
# Modified by Dominique Michel <[email protected]> for use with |
| 4 |
# session managers as gnome-session |
| 5 |
|
| 6 |
DestroyFunc FuncFvwmMenuXephyrDirectory |
| 7 |
AddToFunc FuncFvwmMenuXephyrDirectory |
| 8 |
+ I PipeRead 'case "$0" in \ |
| 9 |
"/usr/share/xsessions"*) myexec="$[FVWM_SYSTEMDIR]/scripts/launchwm $[vp.width] $[vp.height]";; \ |
| 10 |
esac; \ |
| 11 |
test -f "$0"/.icontitle.png && mytitle="$0"/.icontitle.png; \ |
| 12 |
test -f "$0"/.media.png && mypng="$0"/.media.png; \ |
| 13 |
fvwm-menu-directory --func-name "FuncFvwmMenuXephyrDirectory" \ |
| 14 |
--icon-file "${mypng:-22x22/fvwm-crystal/gdm-xnest.png}" \ |
| 15 |
--title "" \ |
| 16 |
--dir "$0" \ |
| 17 |
--func="FuncFvwmMenuXephyrDirectory" \ |
| 18 |
--exec-file "^${myexec}"' |
| 19 |
|
| 20 |
#DestroyMenu /Xephyr |
| 21 |
#AddToMenu /Xephyr |
| 22 |
#+ MissingSubmenuFunction FuncFvwmMenuXephyrDirectory |
| 23 |
#+ '%22x22/fvwm-crystal/gdm-xnest.png%$[gt.Nested sessions]' Popup /etc/X11/Sessions |
| 24 |
|
| 25 |
# vim:ft=fvwm |