wok view pekwm/stuff/etc/pekwm/menu @ rev 2881

pekwm: Fix freedesktop menu script path
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 04 15:54:37 2009 +0200 (2009-05-04)
parents 95a7fe095e66
children c140bc2c4598
line source
1 # Menu config for pekwm
3 # Variables
4 INCLUDE = "vars"
6 RootMenu = "Pekwm" {
7 Submenu = "Favorite Applications" {
8 Entry = "Terminal" { Icon = "$PIXMAPS/xterm.png"; Actions = "Exec $TERM &" }
9 Entry = "Text Editor" { Icon = "$PIXMAPS/leafpad.png"; Actions = "Exec leafpad &" }
10 Entry = "Web Browser" { Icon = "$PIXMAPS/firefox.png"; Actions = "Exec firefox &" }
11 }
12 Submenu = "Web Applications" {
13 Entry = "Wikipedia Encyclopedia" { Icon = "$PIXMAPS/wikipedia.png"; Actions = "Exec firefox http://www.wikipedia.org/ &" }
14 }
15 Submenu = "All Applications" {
16 Entry = "" { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm-freedesktop-menu.sh" }
17 }
18 Submenu = "Documentation" {
19 Entry = "System documentation" { Icon = "$PIXMAPS/slitaz-doc.png"; Actions = "Exec firefox /usr/share/doc/slitaz/index.html &" }
20 }
21 Entry = "Run.." { Actions = "ShowCmdDialog" }
22 Separator {}
24 Submenu = "Go to" {
25 SubMenu = "Workspace" {
26 # Create goto menu once per pekwm config reload. The fast way that
27 # will work for most if not all users.
28 COMMAND = "/usr/share/pekwm/scripts/pekwm_ws_menu.sh goto"
29 # Create goto menu every time the menu is opened. The slow way.
30 # This is what you want if you are using external tools to make
31 # the amount of workspaces something else than what you define in
32 # ~/.pekwm/config. You will know if you want this.
33 # Entry = "" { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_ws_menu.sh goto dynamic" }
34 }
35 Entry = "Window.." { Actions = "ShowMenu GotoClient True" }
36 }
37 Submenu = "Pekwm" {
38 Submenu = "Themes" {
39 Entry { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_themeset.sh /usr/share/pekwm/themes" }
40 Entry { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_themeset.sh ~/.pekwm/themes" }
41 }
42 Submenu = "Exit to" {
43 Entry = "Xterm" { Actions = "RestartOther xterm" }
44 Entry = "Openbox" { Actions = "RestartOther openbox" }
45 }
46 Entry = "Reload" { Actions = "Reload" }
47 #Entry = "Restart" { Actions = "Restart" }
48 }
49 Entry = "Exit" { Actions = "Exit" }
50 }
52 WindowMenu = "Window Menu" {
53 Entry = "(Un)Stick" { Actions = "Toggle Sticky" }
54 Entry = "(Un)Shade" { Actions = "Toggle Shaded" }
55 Entry = "Iconify" { Actions = "Set Iconified" }
56 Entry = "Command.." { Actions = "ShowCmdDialog" }
58 Submenu = "Maximize" {
59 Entry = "Toggle Full" { Actions = "Toggle Maximized True True" }
60 Entry = "Toggle Horizontal" { Actions = "Toggle Maximized True False" }
61 Entry = "Toggle Vertical" { Actions = "Toggle Maximized False True" }
62 }
63 Submenu = "Fill" {
64 Entry = "Full" { Actions = "MaxFill True True" }
65 Entry = "Horizontal" { Actions = "MaxFill True False" }
66 Entry = "Vertical" { Actions = "MaxFill False True" }
67 }
68 Submenu = "Stacking" {
69 Entry = "Raise" { Actions = "Raise" }
70 Entry = "Lower" { Actions = "Lower" }
71 Entry = "Toggle Always On Top" { Actions = "Toggle AlwaysOnTop" }
72 Entry = "Toggle Always Below" { Actions = "Toggle AlwaysBelow" }
73 }
74 Submenu = "Decorations" {
75 Entry = "Toggle Decorations" { Actions = "Toggle DecorBorder; Toggle DecorTitlebar" }
76 Entry = "Toggle Borders" { Actions = "Toggle DecorBorder" }
77 Entry = "Toggle Titlebar" { Actions = "Toggle DecorTitlebar" }
78 }
79 Submenu = "Skip" {
80 Entry = "Toggle showing this frame in menus" { Actions = "Toggle Skip Menus" }
81 Entry = "Toggle including this frame in focus toggle" { Actions = "Toggle Skip FocusToggle" }
82 Entry = "Toggle if this frame snaps to other windows" { Actions = "Toggle Skip Snap" }
83 }
84 SubMenu = "Send To" {
85 # Create sendto menu once per pekwm config reload. The fast way that
86 # will work for most if not all users.
87 COMMAND = "/usr/share/pekwm/scripts/pekwm_ws_menu.sh send"
88 # Create sendto menu every time the menu is opened. The slow way.
89 # This is what you want if you are using external tools to make
90 # the amount of workspaces something else than what you define in
91 # ~/.pekwm/config. You will know if you want this.
92 # Entry = "" { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_ws_menu.sh send dynamic" }
93 }
94 Separator {}
95 Entry = "Close" { Actions = "Close" }
96 Submenu = "Kill" { Entry = "Kill application" { Actions = "Kill" } }
97 }