File: Xephyr

package info (click to toggle)
fvwm-crystal 3.4.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 21,708 kB
  • sloc: sh: 3,265; cs: 1,335; python: 875; makefile: 214
file content (25 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (2)
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]";; \
    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