-
Notifications
You must be signed in to change notification settings - Fork 0
/
menus
524 lines (456 loc) · 26.5 KB
/
menus
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
#------------------------------------------------------------------------------
# Menu functions
#------------------------------------------------------------------------------
DestroyFunc CreateAppMenu
AddToFunc CreateAppMenu
+ I PipeRead "python3 $FVWM_USERDIR/scripts/fvwm_menugen.py -d lxde -n Programs --icons -t '$[infostore.terminal] -e'"
AddToFunc StartFunction
+ I Function CreateAppMenu
DestroyFunc GenWindowOps
AddToFunc GenWindowOps
+ I AddToMenu DynamicWindowOps
+ I ThisWindow (!Sticky,!"Fvwm*") + "$[gt.Move to Page]" Popup Move-window
+ I ThisWindow (!"Fvwm*") + "$[gt.&Group Ops]" Popup WindowGroupOps
+ I ThisWindow (!"Fvwm*") + "" Nop
+ I ThisWindow (!Iconified) + "$[gt.&Iconify] Alt-F9" Iconify
+ I TestRc (NoMatch) + "$[gt.&DeIconify] Alt-F9" Iconify
+ I ThisWindow (!Maximized , !"Fvwm*|fvwm_menu") + "$[gt.Maximize] Alt-F10" Maximize
+ I ThisWindow (Maximized , !"Fvwm*|fvwm_menu") + "$[gt.Restore] Alt-F10" Maximize
+ I ThisWindow (!Shaded) + "$[gt.Shade]" WindowShade
+ I TestRc (NoMatch) + "$[gt.Unshade]" WindowShade
+ I ThisWindow (Sticky, !"Fvwm*") + "$[gt.Unstick]" Stick
+ I ThisWindow (!Sticky, !"Fvwm*") + "$[gt.Stick]" Stick
+ I ThisWindow (!"Fvwm*") + "" Nop
+ I ThisWindow (!"Fvwm*") + "$[gt.&Close] Alt-F4" Close
+ I ThisWindow (!FvwmIdent) + "" Nop
+ I ThisWindow (!FvwmIdent) + "$[gt.Identify] Alt-F11" Module FvwmIdent
+ I ThisWindow (!Iconfied, !"Fvwm*|fvwm_menu") + "$[gt.More&...]" Menu Window This 0 0
# Fvwm2
#PipeRead "python3 $FVWM_USERDIR/scripts/fvwm-menu-desktop --desktop lxde -t Programs --term-cmd '$[infostore.terminal] -e '"
# SUSE
# PipeRead "xdg_menu --charset UTF-8 --format fvwm2"
#------------------------------------------------------------------------------
# Root menu
#------------------------------------------------------------------------------
DestroyMenu Utilities
AddToMenu Utilities "$[gt.Root Menu]" Title
#AddToMenu Utilities MissingSubmenuFunction CreateAppMenu
+ %icons/mini/terminal.png%"&Terminal" Exec exec $[infostore.terminal]
+ %icons/mini/folder.png%"$[gt.Home]" Exec exec $[infostore.filemanager]
+ %icons/mini/search2.png%"$[gt.Search] ..." Exec exec $[infostore.search]
+ %icons/mini/execute.png%"$[gt.Execute] ..." Exec exec $[infostore.launcher]
+ "" Nop
+ "&$[gt.Favorites]" Popup Favorites
+ "&$[gt.Programs]" Popup Popup_Programs
#+ "&$[gt.Programs]" Popup xdg_menu
+ "Fvwm $[gt.Modules]" Popup Module-Popup
+ "$[gt.Settings]" Popup Settings
+ "$[gt.Help]" Popup Documents
+ "" Nop
+ "$[gt.Session]" Popup Session
-+ "" Nop
+ "$[gt.Logout]" FvwmScript $[FVWM_USERDIR]/scripts/FvwmScript-Quit
# Exec exec $FVWM_USERDIR/scripts/rofi/logout.sh
# FvwmScript $[FVWM_USERDIR]/scripts/FvwmScript-Quit
DestroyMenu Favorites
AddToMenu Favorites
#+ %mini/Shell.xpm%"$[gt.Terminal]" Exec exec $[infostore.terminal]
+ %icons/mini/folder.png%"$[gt.File Manager]" Exec exec $[infostore.filemanager]
+ %icons/mini/editor.png%"$[gt.Editor]" Exec exec $[infostore.editor]
+ %icons/mini/viewer.png%"$[gt.Viewer]" Exec exec $[infostore.viewer]
+ %icons/mini/audio.png%"$[gt.Audio Player]" Exec exec $[infostore.audioplayer]
+ %icons/mini/video.png%"$[gt.Video Player]" Exec exec $[infostore.videoplayer]
+ %icons/mini/browser.png%"$[gt.Web Browser]" Exec exec $[infostore.browser]
+ %icons/mini/mail.png%"$[gt.Mail]" Exec exec $[infostore.mail]
#------------------------------------------------------------------------------
# Modules
#------------------------------------------------------------------------------
DestroyMenu Module-Popup
AddToMenu Module-Popup
+ %icons/mini/module.png%"&Autoraise" RestartModule FvwmAuto 500
+ %icons/mini/module.png%"A&nimate" RestartModule FvwmAnimate
+ %icons/mini/module.png%"&Backer" RestartModule FvwmBacker
+ %icons/mini/module.png%"B&anner" RestartModule FvwmBanner
+ %icons/mini/module.png%"B&utton Panel" RestartModuleByAlias FvwmButtons BarButtons BarButtons
+ %icons/mini/module.png%"Desker &Panel" RestartModuleByAlias FvwmButtons DeskerPanelButtons DeskerPanelButtons
+ %icons/mini/module.png%"Taskbar Panel" RestartModuleByAlias FvwmButtons FvwmBar FvwmBar
+ %icons/mini/module.png%"&Console" Module FvwmConsole -sb
+ %icons/mini/module.png%"I&conMan" RestartModule FvwmIconMan
+ %icons/mini/module.png%"Identif&y" RestartModule FvwmIdent
+ %icons/mini/module.png%"Sound &effect" RestartModule FvwmEvent
+ %icons/mini/module.png%"&Talk to Fvwm" FvwmForm FvwmForm-Talk
+ %icons/mini/module.png%"Window &List" RestartModule FvwmWinList
+ "" Nop
+ %icons/mini/delete.png%"&Kill Modules" Popup Kill-Module-Popup
DestroyMenu Kill-Module-Popup
AddToMenu Kill-Module-Popup
+ %icons/mini/module.png%"&Autoraise" KillModule FvwmAuto
+ %icons/mini/module.png%"A&nimate" KillModule FvwmAnimate
+ %icons/mini/module.png%"&Backer" KillModule FvwmBacker
+ %icons/mini/module.png%"B&anner" KillModule FvwmBanner
+ %icons/mini/module.png%"B&utton Panel" All (BarButtons*) Close
+ %icons/mini/module.png%"&Desker Panel" All (DeskerPanel*) Close
+ %icons/mini/module.png%"Taskbar Panel" All (FvwmBar*) Close
+ %icons/mini/module.png%"&Console" KillModule FvwmConsole
+ %icons/mini/module.png%"I&conMan" KillModule FvwmIconMan
+ %icons/mini/module.png%"Identif&y" KillModule FvwmIdent
+ %icons/mini/module.png%"Sound &effect" KillModule FvwmEvent
+ %icons/mini/module.png%"&Talk" All (FvwmForm-Talk) Close
+ %icons/mini/module.png%"Window &List" KillModule FvwmWinList
#------------------------------------------------------------------------------
# Settings
#------------------------------------------------------------------------------
DestroyMenu Settings
AddToMenu Settings
+ "$[gt.Control Animation]" Popup Animate-Settings
+ "Auto&Raise" Popup AutoRaise-Settings
+ "" Nop
+ "$[gt.Background]" Popup Background-Settings
+ "$[gt.Theme]" Popup Theme-Settings
+ "$[gt.Appearance]" Exec exec lxappearance
+ "$[gt.Power Management]" Exec exec xfce4-power-manager-settings
+ "$[gt.Screen Saver]" Exec exec xscreensaver-demo
+ "" Nop
+ "$[gt.Fvwm Config Ops]" Popup Edit-Config
+ " $[gt.Temporary Change] " Title
+ "&Focus/Paging" Popup Focus-Settings
+ "&Bell" Popup Bell-Settings
+ "$[gt.&Screen]" Popup X-settings
#------------------------------------------------------------------------------
# Animate settings
#------------------------------------------------------------------------------
DestroyMenu Animate-Settings
AddToMenu Animate-settings
+ "&Animation on" ModuleOn FvwmAnimate
+ "Animation &off" ModuleOff FvwmAnimate
#------------------------------------------------------------------------------
# AutoRaise settings
#------------------------------------------------------------------------------
DestroyMenu AutoRaise-Settings
AddToMenu AutoRaise-Settings
+ "Raise &Slow" ModuleOn 'FvwmAuto' '1000'
+ "Raise &Default" ModuleOn 'FvwmAuto' '500'
+ "Raise &Fast" ModuleOn 'FvwmAuto' '250'
+ "Speedy &Gonzales" ModuleOn 'FvwmAuto' '50'
+ "Raise &Modules Only" StartModulesAutoRaise
+ "AutoRaise &off" ModuleOff FvwmAuto
DestroyMenu Edit-Config
AddToMenu Edit-Config
+ %icons/mini/config.png%"$[gt.Edit Config]" Exec exec $[infostore.editor] $[FVWM_USERDIR]/config
+ %icons/mini/config.png%"$[gt.Edit Menus]" Exec exec $[infostore.editor] $[FVWM_USERDIR]/menus
+ %icons/mini/config.png%"$[gt.Edit Settings]" Exec exec $[infostore.editor] $[FVWM_USERDIR]/settings
+ %icons/mini/config.png%"$[gt.Edit Theme]" Exec exec $[infostore.editor] $[FVWM_USERDIR]/themes/$[fvwm_theme]/theme
+ %icons/mini/config.png%"$[gt.Edit Modules]" Exec exec $[infostore.editor] $[FVWM_USERDIR]/themes/$[fvwm_theme]/modules
+ "" Nop
+ %icons/mini/reload.png%"$[gt.Reload Config]" Restart
+ %icons/mini/reload.png%"$[gt.Reload Menus]" Read menus
#------------------------------------------------------------------------------
# Background settings
#------------------------------------------------------------------------------
DestroyMenu Background-Settings
AddToMenu Background-Settings "$[gt.Background]" Title
+ "Nitrogen" Function SetNitrogenBackground
+ "" Nop
+ "$[gt.Browse Wallpapers]" Popup Wallpapers
+ "$[gt.Browse Patterns]" Popup Patterns
#PipeRead "python3 $FVWM_USERDIR/scripts/wallpaper.py $[FVWM_USERDIR]/Wallpapers -m Wallpapers"
#PipeRead "python3 $FVWM_USERDIR/scripts/wallpaper.py $[FVWM_USERDIR]/Pattern -m Patterns"
+ "$[gt.Browse Colors]" Popup Back-Solid
DestroyMenu Back-Solid
AddToMenu Back-Solid
PipeRead "sh $FVWM_USERDIR/scripts/colorthumb.sh"
DestroyMenu Wallpapers
AddToMenu Wallpapers
PipeRead 'sh $FVWM_USERDIR/scripts/wallpaper.sh $[FVWM_USERDIR]/Wallpapers'
DestroyMenu Patterns
AddToMenu Patterns
PipeRead 'sh $FVWM_USERDIR/scripts/wallpaper.sh $FVWM_USERDIR/Pattern'
ChangeMenuStyle bgMenu Back-Solid Wallpapers Patterns
#------------------------------------------------------------------------------
# Theme settings
#------------------------------------------------------------------------------
DestroyMenu Theme-Settings
AddToMenu Theme-Settings
PipeRead 'bash $FVWM_USERDIR/scripts/themes.sh $FVWM_USERDIR/themes'
#------------------------------------------------------------------------------
# Banner settings
#------------------------------------------------------------------------------
DestroyMenu Banner-Settings
AddToMenu Banner-Settings
+ "&Banner on" ModuleOn FvwmBanner
+ "Banner &off" ModuleOff FvwmBanner
#------------------------------------------------------------------------------
# Sound settings
#------------------------------------------------------------------------------
DestroyMenu Sound-Settings
AddToMenu Sound-Settings
+ "&Sound Effect on" ModuleOn FvwmEvent
+ "Sound Effect &off" ModuleOff FvwmEvent
#------------------------------------------------------------------------------
# X setup Script
#------------------------------------------------------------------------------
DestroyMenu XsetupScripts
AddToMenu XsetupScripts
+ "&Bell" FvwmScript FvwmScript-BellSetup
+ "&KeyBoard%" FvwmScript FvwmScript-KeyboardSetup
+ "&Screen" FvwmScript FvwmScript-ScreenSetup
+ "&Mouse" FvwmScript FvwmScript-PointerSetup
#------------------------------------------------------------------------------
# Focus/Paging settings
#------------------------------------------------------------------------------
DestroyMenu Focus-Settings
AddToMenu Focus-Settings
+ "$[gt.Sloppy Focus]" Style * SloppyFocus
+ "$[gt.Click To Focus]" Style * ClickToFocus
+ "$[gt.Focus Follows Mouse]" Style * FocusFollowsMouse
+ "" Nop
+ "$[gt.Colormap Follows Mouse]" ColormapFocus FollowsMouse
+ "$[gt.Colormap Follows Focus]" ColormapFocus FollowsFocus
+ "" Nop
+ "$[gt.Full Paging ON]" EdgeScroll 100 100
+ "$[gt.All Paging OFF]" EdgeScroll 0 0
+ "$[gt.Horizontal Paging Only]" EdgeScroll 100 0
+ "$[gt.Vertical Paging Only]" EdgeScroll 0 100
+ "$[gt.Partial Paging]" EdgeScroll 50 50
+ "$[gt.Full Paging && Edge Wrap]" EdgeScroll 100000 100000
#------------------------------------------------------------------------------
# Mouse settings
#------------------------------------------------------------------------------
DestroyMenu Mouse-Settings
AddToMenu Mouse-Settings
+ "Mouse &Slow" Exec xset m 1 1
+ "Mouse &Default" Exec xset m default
+ "Mouse &Fast" Exec xset m 4 2
+ "Speedy &Gonzales" Exec xset m 10 2
#------------------------------------------------------------------------------
# Keyboard settings
#------------------------------------------------------------------------------
DestroyMenu Keyboard-Settings
AddToMenu Keyboard-Settings
+ "&Auto-repeat on" Exec xset r on
+ "Auto-repeat &off" Exec xset r off
#------------------------------------------------------------------------------
# Sound settings
#------------------------------------------------------------------------------
DestroyMenu Bell-Settings
AddToMenu Bell-Settings
+ "&Bell on" Exec xset b on
+ "Bell &off" Exec xset b off
#+ "Sound &card" Exec exec xmixer
#------------------------------------------------------------------------------
# X & screen settings
#------------------------------------------------------------------------------
DestroyMenu X-Settings
AddToMenu X-Settings
#+ "Back &Color" Popup Backcolor
#+ "Back &Animation" Popup Background-Animation
+ "&Root Cursor Form" FvwmForm FvwmForm-RootCursor
+ "&Video tuning" Exec exec $[infostore.terminal] -T Xvidtune -e xvidtune
#+ "&X configuration" Exec exec xterm -T Xconfig -e Xconfigurator
#------------------------------------------------------------------------------
# Documents
#------------------------------------------------------------------------------
DestroyMenu Documents
AddToMenu Documents
+ %icons/mini/Books.xpm%"&$[gt.Manuals]" Exec exec $[infostore.help]
+ %icons/mini/browser.png%"&FVWM Home Page" Exec exec $[infostore.browser] http://www.fvwm.org/
+ %icons/mini/Help.xpm%"FVWM &Man Page" ViewManPage fvwm
#+ %mini/Help.xpm%"FVWM &Man Pages" Popup FvwmManPage
DestroyMenu MenuBrowser
#PREF 1
AddToMenu MenuBrowser DynamicPopupAction Piperead 'fvwm-menu-directory --reuse --name MenuBrowser --dir $HOME --special-dirs --exec-file ^"$fvwm_editor" --xterm=" $fvwm_file_manager" --icon-dir=icons/folder.png --icon-title=icons/folder.png --icon-file=icons/doc.png --icon-app=mini.hex.xpm --check-subdir'
DestroyMenu MenuBrowserCached
#PREF 1
AddToMenu MenuBrowserCached DynamicPopupAction Piperead 'fvwm-menu-directory --all --reuse --name MenuBrowserCached --dir $HOME --special-dirs --exec-file ^"$fvwm_editor" --xterm=" $fvwm_file_manager" --icon-dir=icons/folder.png --icon-title=icons/folder.png --icon-file=icons/doc.png --icon-app=mini.hex.xpm --check-subdir'
DestroyFunc FuncFvwmMenuDirectory
#PREF 1
AddToFunc FuncFvwmMenuDirectory I PipeRead 'fvwm-menu-directory --dir "$0" --exec-file ^"$[infostore.editor]" --xterm=" $[infostore.terminal]" --icon-dir=icons/folder.png --icon-title=icons/folder.png --icon-file=icons/doc.png --icon-app=mini.hex.xpm --check-subdir'
DestroyMenu FvwmManPage
AddToMenu FvwmManPage "FVWM Man Pages" Title
+ %icons/mini/Help.xpm%"fvwm" ViewManPage fvwm
+ %icons/mini/Help.xpm%"FvwmAnimate" ViewManPage FvwmAnimate
+ %icons/mini/Help.xpm%"FvwmAuto" ViewManPage FvwmAuto
+ %icons/mini/Help.xpm%"FvwmBacker" ViewManPage FvwmBacker
+ %icons/mini/Help.xpm%"FvwmBanner" ViewManPage FvwmBanner
+ %icons/mini/Help.xpm%"FvwmButtons" ViewManPage FvwmButtons
+ %icons/mini/Help.xpm%"FvwmCascade" ViewManPage FvwmCascade
+ %icons/mini/Help.xpm%"FvwmCommand" ViewManPage FvwmCommandS
+ %icons/mini/Help.xpm%"FvwmConsole" ViewManPage FvwmConsole
+ %icons/mini/Help.xpm%"FvwmConsoleC.pl" ViewManPage FvwmConsoleC.pl
+ %icons/mini/Help.xpm%"FvwmCpp" ViewManPage FvwmCpp
+ %icons/mini/Help.xpm%"FvwmEvent" ViewManPage FvwmEvent
+ %icons/mini/Help.xpm%"FvwmForm" ViewManPage FvwmForm
+ %icons/mini/Help.xpm%"FvwmIconMan" ViewManPage FvwmIconMan
+ %icons/mini/Help.xpm%"FvwmIdent" ViewManPage FvwmIdent
+ %icons/mini/Help.xpm%"FvwmM4" ViewManPage FvwmM4
+ %icons/mini/Help.xpm%"FvwmPager" ViewManPage FvwmPager
+ %icons/mini/Help.xpm%"FvwmPerl" ViewManPage FvwmPerl
+ %icons/mini/Help.xpm%"FvwmProxy" ViewManPage FvwmProxy
+ %icons/mini/Help.xpm%"FvwmRearrange" ViewManPage FvwmRearrange
+ %icons/mini/Help.xpm%"FvwmScript" ViewManPage FvwmScript
+ %icons/mini/Help.xpm%"FvwmTalk" ViewManPage FvwmTalk
+ %icons/mini/Help.xpm%"FvwmTile" ViewManPage FvwmTile
+ "" Nop
+ %icons/mini/Help.xpm%"fvwm-config" ViewManPage fvwm-config
+ %icons/mini/Help.xpm%"fvwm-perllib" ViewManPage fvwm-perllib
+ %icons/mini/Help.xpm%"fvwm-root" ViewManPage fvwm-root
+ %icons/mini/Help.xpm%"fvwm-bug" ViewManPage fvwm-bug
+ "" Nop
+ %icons/mini/Help.xpm%"fvwm-menu-desktop" ViewManPage fvwm-menu-desktop
+ %icons/mini/Help.xpm%"fvwm-menu-directory" ViewManPage fvwm-menu-directory
+ %icons/mini/Help.xpm%"fvwm-menu-headlines" ViewManPage fvwm-menu-headlines
+ %icons/mini/Help.xpm%"fvwm-menu-xlock" ViewManPage fvwm-menu-xlock
#------------------------------------------------------------------------------
# ScreenSaver
#------------------------------------------------------------------------------
DestroyMenu Screen
AddToMenu Screen
+ "&Screensaver" Exec exec xscreensaver-command -a
+ "Screen&lock" Exec exec xscreensaver-command -l
+ "" Nop
+ "Preferences" Exec exec xscreensaver-demo
#------------------------------------------------------------------------------
# Session
#------------------------------------------------------------------------------
DestroyMenu Session
AddToMenu Session
+ "$[gt.Restart Fvwm]" Restart
+ "" Nop
+ "$[gt.Switch User]" Exec exec dm-tool switch-to-greeter
+ "$[gt.Lock Screen]" Exec exec xscreensaver-command -l
#+ " $[gt.System] " Title
#+ "$[gt.Restart]" FvwmForm FvwmForm-VerifyQuit
#+ "$[gt.Shutdown]" FvwmForm FvwmForm-VerifyQuit
#+ "$[gt.Logout]" FvwmForm FvwmForm-VerifyQuit
#------------------------------------------------------------------------------
# Windows Operations
#------------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# The "root" windows ops menu (Mouse 2)
#------------------------------------------------------------------------------
DestroyMenu "Window"
AddToMenu "Window" "$[gt.Window Ops]" Title
+ "$[gt.&Move] Alt-f7" Move
+ "$[gt.&Resize]" Resize
+ "$[gt.(De)Iconify] Alt-F9" Iconify
+ "$[gt.(Un)Maximize] Alt-F10" Maximize
+ "$[gt.(Un)Shade]" WindowShade
+ "$[gt.(Un)Stick]" Stick
+ "$[gt.&Lower] Alt-F5" Lower
+ "" Nop
+ "$[gt.&Close] Alt-F4" Close
+ "$[gt.Destroy] Ctrl-Alt-F4" Destroy
+ "" Nop
+ "$[gt.Move to Page]" Popup Move-window
+ "$[gt.&Group Ops]" Popup WindowGroupOps
+ "$[gt.All to Current Page]" All MoveToPage $($[page.nx]) $($[page.ny])
+ "$[gt.Rearrange Icons]" RearrangeIcons
+ "" Nop
+ "$[gt.Identify] Alt-F11" Module FvwmIdent
+ "$[gt.Switch to...]" WindowList
#------------------------------------------------------------------------------
# A trimmed down version of "Window Ops", good for binding to decorations
#------------------------------------------------------------------------------
DestroyMenu "Window-Ops2"
AddToMenu "Window-Ops2"
+ "$[gt.&Move] Alt-F7" Move
+ "$[gt.&Resize]" Resize
+ "$[gt.(De)Iconify] Alt-F9" Iconify
+ "$[gt.(Un)Maximize] Alt-F10" Maximize
+ "$[gt.(Un)Shade]" WindowShade
+ "$[gt.(Un)Stick]" Stick
+ "$[gt.&Lower] Alt-F5" Lower
+ "" Nop
+ "$[gt.&Close] Alt-F4" Close
+ "" Nop
+ "$[gt.Identify] Alt-F11" Module FvwmIdent
+ "$[gt.More&...]" Menu Window This 0 0
#------------------------------------------------------------------------------
# A trimmed down version of "Window Ops", good for binding to TaskBar,
# WinList ... buttons
#------------------------------------------------------------------------------
DestroyMenu "Window-Ops3"
AddToMenu "Window-Ops3"
+ "$[gt.Move to Page]" Popup Move-window
+ "$[gt.&Group Ops]" Popup WindowGroupOps
+ "" Nop
+ "$[gt.(De)Iconify] Alt-F9" Iconify
+ "$[gt.(Un)Maximize] Alt-F10" Maximize
+ "$[gt.(Un)Shade]" WindowShade
+ "$[gt.(Un)Stick]" Stick
+ "" Nop
+ "$[gt.&Close] Alt-F4" Close
+ "" Nop
+ "$[gt.Identify] Alt-F11" Module FvwmIdent
+ "$[gt.More&...]" Menu Window This 0 0
# Dynamic version
DestroyMenu DynamicWindowOps
AddToMenu DynamicWindowOps DynamicPopUpAction GenWindowOps
AddToMenu DynamicWindowOps DynamicPopDownAction \
DestroyMenu recreate DynamicWindowOps
#------------------------------------------------------------------------------
# A "Move Window" menu
#------------------------------------------------------------------------------
DestroyMenu "Move-Window"
AddToMenu "Move-Window"
+ '$[gt.Page] &1' MoveToPage 0 0
+ '$[gt.Page] &2' MoveToPage 1 0
+ '$[gt.Page] &3' MoveToPage 2 0
+ '$[gt.Page] &4' MoveToPage 3 0
#------------------------------------------------------------------------------
# A group version of WindowOps
#------------------------------------------------------------------------------
DestroyMenu WindowGroupOps
AddToMenu WindowGroupOps
+ "$[gt.&Iconify]" Pick All ($[w.class]) Iconify on
+ "$[gt.&DeIconify]" Pick All ($[w.class]) Iconify off
+ "$[gt.Shade]" Pick All ($[w.class]) WindowShade on
+ "$[gt.UnShade]" Pick All ($[w.class]) WindowShade off
+ "$[gt.R&aise]" Pick All ($[w.class]) Raise
+ "$[gt.&Lower]" Pick All ($[w.class]) Lower
+ "$[gt.&Close]" Pick Close
+ "$[gt.Destroy]" Pick Destroy
+ " $[gt.Quick move to...] " Title
+ '$[gt.Page] &1' Pick All ($[w.class]) MoveToPage 0 0
+ '$[gt.Page] &2' Pick All ($[w.class]) MoveToPage 1 0
+ '$[gt.Page] &3' Pick All ($[w.class]) MoveToPage 2 0
+ '$[gt.Page] &4' Pick All ($[w.class]) MoveToPage 3 0
DestroyMenu WindowStyle
AddToMenu WindowStyle
+ "Title&AtTop" Pick (CirculateHit) Style $n TitleAtTop
+ "&NoTitle" Pick (CirculateHit) Style $n NoTitle
+ "&Title" Pick (CirculateHit) Style $n NoTitle
+ "TitleAt&Bottom" Pick (CirculateHit) Style $n TitleAtBottom
+ "" Nop
+ "StaysOn&Top" Pick (CirculateHit) StyleAndRecapture $n StaysOnTop
+ "Stays&Put" Pick (CirculateHit) StyleAndRecapture $n StaysPut
+ "StaysOn&Bottom" Pick (CirculateHit) StyleAndRecapture $n StaysOnBottom
+ "" Nop
+ "&FvwmBorder" Pick (CirculateHit) Style $n FvwmBorder
+ "&MWMBorder" Pick (CirculateHit) Style $n MWMBorder
+ "&DepressableBorder" Pick (CirculateHit) Style $n DepressableBorder
+ "&FirmBorder" Pick (CirculateHit) Style $n FirmBorder
+ "&Handles" Pick (CirculateHit) Style $n Handles
+ "&NoHandles" Pick (CirculateHit) Style $n NoHandles
+ "BorderWidth &0" Pick (CirculateHit) Style $n BorderWidth 0
+ "BorderWidth &5" Pick (CirculateHit) Style $n BorderWidth 5
+ "HandleWidth &0" Pick (CirculateHit) Style $n HandleWidth 0
+ "HandleWidth &7" Pick (CirculateHit) Style $n HandleWidth 7
+ "" Nop
+ "&ResizeOpaque" Pick (CirculateHit) Style $n ResizeOpaque
+ "Resize&Outline" Pick (CirculateHit) Style $n ResizeOutline
+ "Sloppy&Focus" Pick (CirculateHit) Style $n SloppyFocus
+ "&ClickToFocus" Pick (CirculateHit) Style $n ClickToFocus
+ "&MouseFocus" Pick (CirculateHit) Style $n MouseFocus
+ "&NeverFocus" Pick (CirculateHit) Style $n NeverFocus
DestroyMenu WinRearrange
AddToMenu WinRearrange
+ "&Cascade" FvwmRearrange -cascade -m 3 3 -incx 2
+ "Tile &horizontally" FvwmRearrange -tile -h -m 2 2 98 98
+ "Tile &vertically" FvwmRearrange -tile -m 2 2 98 98
+ "" Nop
+ "&ScrollBar (1/2 app)" Module FvwmScroll 2 2
+ "&Scroll&Bar (75%% scr)" Module FvwmScroll 75p 75p
+ "" Nop
+ "&Arrange Icons" All (CurrentDesk Iconic) RecaptureWindow
+ "&Refresh Screen" Refresh