File: Xephyr

package info (click to toggle)
fvwm-crystal 3.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 19,748 kB
  • ctags: 793
  • sloc: sh: 2,815; cs: 880; python: 875; makefile: 212
file content (25 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Menu for different ways to run away ;)
# Created by: Pawel "NEMO" Drygas <nemo@braxis.org>
# Modified by Dominique Michel <dominique_libre@sourceforge.net> for use with
# session managers as gnome-session

DestroyFunc FuncFvwmMenuXephyrDirectory
AddToFunc FuncFvwmMenuXephyrDirectory
+ I PipeRead 'case "$0" in \
	"/usr/share/xsessions"*) myexec="$[FVWM_SYSTEMDIR]/scripts/launchwm $[vp.width] $[vp.height] $[infostore.Your_Id]";; \
    esac; \
    test -f "$0"/.icontitle.png && mytitle="$0"/.icontitle.png; \
    test -f "$0"/.media.png && mypng="$0"/.media.png; \
    fvwm-menu-directory --func-name "FuncFvwmMenuXephyrDirectory" \
    --icon-file "${mypng:-22x22/fvwm-crystal/gdm-xnest.png}" \
    --title "" \
    --dir "$0" \
    --func="FuncFvwmMenuXephyrDirectory" \
    --exec-file "^${myexec}"'

#DestroyMenu /Xephyr
#AddToMenu /Xephyr
#+ MissingSubmenuFunction FuncFvwmMenuXephyrDirectory
#+ '%22x22/fvwm-crystal/gdm-xnest.png%$[gt.Nested sessions]' Popup /etc/X11/Sessions

# vim:ft=fvwm