Debian Codegraph @

fvwm/components/functions/Fvwm-Crystal-Menu

raw
1 # /Fvwm-Crystal menu FVWM-Crystal
2 #
3 # Version: 2.0.1
4 # License: GPL 3+
5 #
6 # Author: Dominique Michel <[email protected]>
7 #
8 # Created: <03/06/2013>
9 # Changed: <04/06/2013>
10 #
11 # Description: provide the FVWM-Crystal system menu common to a all recipes.
12 # It can be redefined into the recipes
13
14 # Replace I by H to close and app menu and open crystall app menu, don't work with current xorg
15 DestroyFunc DekstopMenu
16 AddToFunc DesktopMenu
17 + I Test (EnvMatch DesktopMenu /FVWM-Crystal) Menu /FVWM-Crystal $[MenuPosition_BelowLeft]
18 + I Test (EnvMatch DesktopMenu /StartMenu) Menu /StartMenu $[MenuPosition_BelowLeft]
19 + I Test (EnvMatch DesktopMenu /Applications) Menu /Applications $[MenuPosition_BelowLeft]
20 + I Test (EnvMatch DesktopMenu /ApplicationsAndRootMenu) Menu /ApplicationsAndRootMenu $[MenuPosition_BelowLeft]
21
22 DestroyFunc ScreenResolution
23 AddToFunc ScreenResolution
24 + I DestroyMenu /ScreenResolution
25 + I PipeRead '$[FVWM_SYSTEMDIR]/scripts/ScreenResolution'
26
27 Test (x xrandr) ScreenResolution
28
29 # Use DynamicPopUpAction; the menu can be redifined into the recipe
30 DestroyMenu /FVWM-Crystal
31 AddToMenu /FVWM-Crystal
32 + '%22x22/fvwm-crystal/audio-x-generic.png%$[gt.Music]' Popup /Music
33 + "" Nop
34 + '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.FVWM-Crystal documentation]' Popup /Developer/FVWM-Crystal-Documentation
35 + "" Nop
36 Test (x xrandr) + '%22x22/fvwm-crystal/handles.png%$[gt.Screen resolution]' Popup /ScreenResolution
37 + '%22x22/fvwm-crystal/preferences-desktop-screensaver.png%$[gt.Screensaver]' Popup /Screensaver
38 + '%22x22/fvwm-crystal/camera-photo.png%$[gt.Screenshot]' Popup /Screenshot
39 + "" Nop
40 + '%22x22/fvwm-crystal/preferences-desktop-theme.png%$[gt.Window decorations]' Popup /Window-Decorations
41 + '%22x22/fvwm-crystal/colorsets.png%$[gt.Colorsets]' Popup /Colorsets
42 + '%22x22/fvwm-crystal/preferences-desktop-wallpaper.png%$[gt.Wallpaper]' Popup /Wallpaper
43 #+ '%22x22/fvwm-crystal/preferences-desktop-wallpaper.png%$[gt.All pages wallpaper]' Popup /Wallpaper-All
44 #+ '%22x22/fvwm-crystal/preferences-desktop-wallpaper.png%$[gt.This page wallpaper]' Popup /Wallpaper-Current
45 + '%22x22/fvwm-crystal/preferences-desktop.png%$[gt.Preferences]' Popup /Preferences
46 + "" Nop
47 + '%22x22/fvwm-crystal/applications-development.png%$[gt.Developer menu]' Popup /Developer
48 + '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.About FVWM-Crystal]' Include components/functions/About
49 + MissingSubmenuFunction FuncFvwmMenuXephyrDirectory
50 + '%22x22/fvwm-crystal/gdm-xnest.png%$[gt.Nested sessions]' Popup /usr/share/xsessions
51 + '%22x22/fvwm-crystal/system-log-out.png%$[gt.Exit]' Popup /Exit
52 # }}}2
53
54 # ViM modeline {{{1
55 # vim:foldmethod=marker:foldenable:foldlevel=0:ft=fvwm
56