-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
585 lines (522 loc) · 20.6 KB
/
config
File metadata and controls
585 lines (522 loc) · 20.6 KB
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
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
SetEnv walldir $[FVWM_USERDIR]/wallpapers
ImagePath $[FVWM_USERDIR]/images/icons:+:$[FVWM_USERDIR]/images/deco:+:$[FVWM_USERDIR]/images/menu:+:$[FVWM_USERDIR]/images/buttons:+:$[FVWM_USERDIR]/images/title
#############################
# Setting
###############################
DeskTopSize 3x3
IgnoreModifiers L25
HideGeometryWindow Always
EwmhBaseStruts 0 0 0 29
SnapAttraction 3 SameType
EdgeScroll 0 0
EdgeResistance 15 100
EdgeThickness 1
EdgeCommand Left nop
ClickTime 100
MoveThreshold 3
OpaqueMoveSize unlimited
BugOpts FlickeringMoveWorkaround Off
SnapGrid 1 1
#############################
# FvwmEvent
###############################
DestroyModuleConfig FvwmEvent: *
*FvwmEvent: Cmd Function
*FvwmEvent: new_page CurrentPageFocusFunc
*FvwmEvent: new_desk CurrentPageFocusFunc
*FvwmEvent: destroy_window CurrentPageFocusFunc
*FvwmEvent: focus_change MarkWindowAsActiveFunc
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmCommandS
+ I Module FvwmEvent
+ I Module FvwmButtons
+ I Module FvwmPager
+ I Test (Init) Exec habak -ms $[walldir]
+ I Exec tint -c $[FVWM_USERDIR]/ownfiles/tintrc_black
+ I Exec sleep 2 && wicd-client &
+ I Exec sleep 3 && conky -c $[FVWM_USERDIR]/ownfiles/conkyrc-color
+ I Exec stalonetray -w -t --geometry 150x28+1100-2 --respect-icon-hints --max-width 0 --icon-size 24 --max-height 28 --skip-taskbar
#+ I Exec trayer --align right --transparent true --height 27 --alpha 120 --tint black --widthtype request --heighttype request --SetDockType true --SetPartialStrut false --expand true
#+ I Exec ibus-daemon -d
+ I Exec volwheel &
+ I Exec xcompmgr -Cc -O-10 -t-3 -l-4 -r4 &
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I Exec rm $[FVWM_USERDIR]/images/tmp/icon.tmp*
+ I Exec killall stalonetray
+ I Exec killall trayer
+ I Exec killall conky
DestroyFunc MaximizeFunc
AddToFunc MaximizeFunc
+ C Maximize
+ D Maximize ewmhiwa True
+ M Nop
DestroyFunc MaximizeTitleBarFunc
AddToFunc MaximizeTitleBarFunc
+ I Raise
+ D Maximize ewmhiwa
+ M Move
AddToFunc ResizeFunc
+ I EWMHActivateWindowFunc
+ I Resize
AddToFunc MoveFunc
+ I EWMHActivateWindowFunc
+ I Move
DestroyFunc CurrentPageFocusFunc
AddToFunc CurrentPageFocusFunc
+ I Next (CurrentPage, State 2) Focus
+ I None (CurrentPage, Focused) Prev (CurrentPage, !Iconified, !Sticky) Focus
DestroyFunc MarkWindowAsActiveFunc
AddToFunc MarkWindowAsActiveFunc
+ I Current (!Iconified) All (CurrentPage, !Focused) State 2 False
+ I Current (!Iconified) State 2 True
DestroyFunc RootLeftClick
AddToFunc RootLeftClick
+ M Current (CurrentPage, !Iconic) MoveFunc
+ D All (CurrentPage, !Iconic, !Shaded, !MPlayer) Iconify on
DestroyFunc RootRightClick
AddToFunc RootRightClick
+ C All (FvwmButtons, !Shaded) Popup MenuFvwmRoot
#+ H All (CurrentPage, Focused, !Iconic) Popup menu_WindowOps
+ M All (CurrentPage, Focused, !Iconic) ResizeFunc
DestroyFunc TitleLeftClick
AddToFunc TitleLeftClick
+ I EWMHActivateWindowFunc
+ D RaiseLower
+ M MoveFunc
DestroyFunc TitleRightClick
AddToFunc TitleRightClick
+ C Menu menu_WindowOps
+ M ResizeFunc
DestroyFunc FvwmSend&Go
AddToFunc FvwmSend&Go
+ I MoveToPage wrapx 1p 1
+ I GoToPage wrapx 1p 1
DestroyFunc FuncMoveCenter
AddToFunc FuncMoveCenter
+ I AnimatedMove -50 -50
+ I WarpToWindow 50 50
+ I AnimatedMove m+0 m+0 Warp
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \
"xwd -silent -id $[w.id] | convert -scale 80 \
-mattecolor black -quality 0 -filter blackman xwd:- png:$[FVWM_USERDIR]/images/tmp/icon.tmp.$[w.id].png \
&& echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/images/tmp/icon.tmp.$[w.id].png \
|| echo Nop"
+ I TestRc (Match) Test (f $[w.miniiconfile], f $[FVWM_USERDIR]/images/tmp/icon.tmp.$[w.id].png) PipeRead \
"composite -geometry +2+4 $[w.miniiconfile] $[FVWM_USERDIR]/images/tmp/icon.tmp.$[w.id].png \
$[FVWM_USERDIR]/images/tmp/icon.tmp.$[w.id].png; echo Nop"
+ I Iconify
DestroyFunc ConfigBrowser
AddToFunc ConfigBrowser
+ I DestroyMenu WallpaperBrowser
+ I AddToMenu WallpaperBrowser
+ I PipeRead 'test ! -d "$0/.thumbs" && mkdir "$0/.thumbs"; \
for i in "$0/"*; do \
test -f "$0/.thumbs/${i##*/}" \
-a "${i}" -ot "$0/.thumbs/${i##*/}" || { \
convert -quality 0 -scale 48 "${i}" "png:$0/.thumbs/${i##*/}" 2>/dev/null \
|| continue; \
}; \
done; \
fvwm-menu-directory --icon-title folder.png --icon-file __PIXMAP__ \
--icon-dir folder.png --dir $0 --exec-file "^habak -ms" \
--exec-t="^eog *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
-e "s#__PIXMAP__\\(.*\\)\\"\\(.*/\\)\\(.*\\)\\"#\\2.thumbs/\\3\\1\\2\\3#g"
DestroyFunc WindowOpsFunc
AddToFunc WindowOpsFunc
+ I DestroyMenu recreate menu_WindowOps
+ I AddToMenu menu_WindowOps $[w.class] Title
+ I + Send%go-next.png% MoveToPage wrapx 1p 1
+ I + "Send&Go"%go-last.png% Function FvwmSend&Go
+ I ThisWindow (!Iconic) + "" Nop
+ I ThisWindow (!Iconic, !Maximized, Maximizable) + "$[gt.Maximize]"%maximize.png% Pick Maximize
+ I TestRc (!Match) ThisWindow (!Iconic, Maximizable) + "$[gt.Restore Maximize]"%maximize.png% Pick Maximize
+ I TestRc (Error) + "$[gt.Maximize]"%maximize.png% Pick Maximize
+ I + Iconify%iconify.png% Iconify
+ I ThisWindow (!Iconic, Shaded) + "$[gt.Unshade]"%shade.png% Pick WindowShade N
+ I TestRc (!Match) ThisWindow (!Iconic) + "$[gt.Shade]"%shade.png% Pick WindowShade N
+ I TestRc (Error) + "$[gt.Shade]"%shade.png% Pick WindowShade N
+ I ThisWindow (!Iconic, !Sticky) + "$[gt.Stick]"%stick.png% Pick Stick
+ I TestRc (!Match) ThisWindow (!Iconic) + "$[gt.UnStick]"%stick.png% Pick Stick
+ I TestRc (Error) + "$[gt.Stick]"%stick.png% Pick Stick
+ I ThisWindow (!Iconic, Layer 6) + "$[gt.Default Layer]" Pick Layer 0 4
+ I TestRc (!Match) ThisWindow (!Iconic) + "$[gt.Always on Top]" Pick Layer 0 6
+ I TestRc (Error) + "$[gt.Always on Top]" Pick Layer 0 6
+ I ThisWindow (!Iconic) + "" Nop
+ I ThisWindow (!Iconic) + "$[gt.Move]"%move.png% MoveFunc
+ I ThisWindow (!Iconic) + "$[gt.Resize]"%resize.png% ResizeFunc
+ I ThisWindow (!Iconic) + "" Nop
+ I ThisWindow (!Iconic) + "Advanced..." Popup menu_WindowOpsAdv
+ I ThisWindow (!Iconic) + "" Nop
+ I + "$[gt.Close Window]"%destroy.png% Pick Close
DestroyFunc WindowOpsFuncAdv
AddToFunc WindowOpsFuncAdv
+ I DestroyMenu recreate menu_WindowOpsAdv
+ I AddToMenu menu_WindowOpsAdv
+ I ThisWindow (State 14) + "$[gt.Title]" WindowStyle Title
+ I TestRc (NoMatch) + "$[gt.NoTitle]" WindowStyle !Title
+ I State 14
+ I ThisWindow (State 15) + "$[gt.Borders]" WindowStyle Borders
+ I TestRc (NoMatch) + "$[gt.NoBorders]" WindowStyle !Borders
+ I State 15
+ I ThisWindow (FixedPosition) + "$[gt.UnBlock]" WindowStyle VariablePosition, VariableSize
+ I TestRc (!Match) + "$[gt.Block]" WindowStyle FixedPosition, FixedSize
+ I + "Identify"%ident.png% Module FvwmIdent
+ I + "$[gt.Destroy]"%kill.png% Pick Destroy
#############################
# Style
###############################
Style * Colorset 1, HilightColorset 1
Style * BorderWidth 0, HandleWidth 2, BorderColorset 6, HilightBorderColorset 6
Style * Font "StringEncoding=UTF-8:xft:STHeiti:size=9:encoding=iso10646-1"
Style * IconBox $[vp.width]x$[vp.height]+10+10, IconFill t l, IconBackgroundPadding 0, IconBackgroundRelief 0
Style * !EWMHMiniIconOverride, IconOverride, NoIconTitle
Style * DecorateTransient, UseDecor WindowDecoration, !StickyStippledTitle, IndexedWindowName
Style * MinOverlapPlacement
Style * ClickToFocus
Style * ResizeOpaque
Style * RoundedCornersTop, SlightlyRoundedCorners
Style * RoundedCornersBottom, SlightlyRoundedCorners
#Style * ResizeOutline, ResizeOutlineThin
Style Fvwm* !Title, !Borders, !Iconifiable, WindowListSkip, !FixedPosition, FixedSize, Sticky
Style FvwmButtons NeverFocus
Style FvwmIdent Title
Style FvwmConsole Title, Borders, !FixedSize
Style stalonetray !Title, !Borders, Sticky
Style trayer !Title, !Borders, Sticky
Style tint !Title, !Borders, Sticky
Style conky !Title, !Borders, Sticky
#############################
# Mouse & Keyboard
###############################
Mouse 3 R A Menu MenuFvwmRoot
Mouse 1 R M RootLeftClick
Mouse 3 R M RootRightClick
Mouse 1 2 A Close
Mouse 1 4 A MaximizeFunc
Mouse 3 6 A Thumbnail
Mouse 1 FST A ResizeFunc
Mouse 1 W M MoveFunc
Mouse 2 W M Menu menu_WindowOps
Mouse 1 I A Iconify Off
Mouse 3 I A Menu menu_WindowOps
Mouse 2 4 A Maximize 0 100
Mouse 2 R A GoToPage wrapx 1p 1
Mouse 2 I A Menu menu_WindowOps
Mouse 1 6 A Thumbnail
Mouse 3 4 A StrokeFunc
Mouse 3 SFT A TitleLeftClick
Mouse 4 R N None (Maximized, Raised, Focused, !Iconic) Prev (CurrentPage, AcceptsFocus, !Iconic) EWMHActivateWindowFunc
Mouse 5 R N None (Maximized, Raised, Focused, !Iconic) Next (CurrentPage, AcceptsFocus, !Iconic) EWMHActivateWindowFunc
Mouse 4 T A WindowShade True
Mouse 5 T A WindowShade False
Mouse 1 T A MaximizeTitleBarFunc
Mouse 3 1 A Exec transset-df -i $[w.id]
Mouse 4 1 A Exec transset-df --inc 0.1 -i $[w.id]
Mouse 5 1 A Exec transset-df --dec 0.1 -i $[w.id]
Mouse 1 R N StrokeFunc
Stroke N456 0 R N Exec roxterm
Stroke N654 0 R N Exec pcmanfm
Stroke N852 0 R N Exec opera
Stroke N258 0 R N Exec audacious
Stroke N456 0 TSF4 N Maximize True growright 0
Stroke N654 0 TSF4 N Maximize True growleft 0
Stroke N852 0 TSF4 N Maximize True 0 growdown
Stroke N258 0 TSF4 N Maximize True 0 growup
#--------------------------------------------------------------------------
Key F4 A C Module FvwmForm FvwmFormQuit
key r A C Restart
Key F2 A M None (*run) Exec grun || gmrun || fbrun || xfrun4
#Key t A A Exec sakura
#Key c A A Exec chromium-browser --enable-plugins
#Key f A A Exec firefox -P "firefox3" -no-remote
Key Tab A M WindowList Root c c NoCurrentDeskTitle
Key Print A A Exec scrot -q 100 screen-%F_%H%M%S.jpg
Key F4 A M ThisWindow (!Iconic, !Shaded) Close
Key q A M ThisWindow (!Iconic, !Shaded) Close
Key Super_L A A Menu MenuFvwmRoot Rectangle +0+$[menupos] +0 +0
Key Super_R A A Menu MenuFvwmRoot Rectangle +0+$[menupos] +0 +0
Key Menu A A Current (CurrentPage, !Iconic) Menu menu_WindowOps
Key Up A MC Current (CurrentPage, !Iconic) AnimatedMove keep w-7
Key Down A MC Current (CurrentPage, !Iconic) AnimatedMove keep w+7
Key Right A MC Current (CurrentPage, !Iconic) AnimatedMove w+7 w+0
Key Left A MC Current (CurrentPage, !Iconic) AnimatedMove w-7 w+0
Key Up A M Exec amixer -q sset PCM 10%+
Key Down A M Exec amixer -q sset PCM 10%-
Key Left A M Prev (CurrentPage, AcceptsFocus, !Iconic) EWMHActivateWindowFunc
Key Right A M Next (CurrentPage, AcceptsFocus, !Iconic) EWMHActivateWindowFunc
key F6 A N FuncMoveCenter
key Up W MS Exec transset-df --inc 0.1 -i $[w.id]
key Down W MS Exec transset-df --dec 0.1 -i $[w.id]
key Right A MS Exec amixer -q sset PCM 5%+
key Left A MS Exec amixer -q sset PCM 5%-
Key F11 A M Current Maximize True 0 growdown
Key F10 A M Current Maximize True 0 growup
Key F9 A M Current Maximize True growleft 0
Key F12 A M Current Maximize True growright 0
Key KP_1 A N GoToPage wrapx 0 2
Key KP_2 A N GoToPage wrapx 1 2
Key KP_3 A N GoToPage wrapx 2 2
Key KP_4 A N GoToPage wrapx 0 1
Key KP_5 A N GoToPage wrapx 1 1
Key KP_6 A N GoToPage wrapx 2 1
Key KP_7 A N GoToPage wrapx 0 0
Key KP_8 A N GoToPage wrapx 1 0
Key KP_9 A N GoToPage wrapx 2 0
Key KP_1 A M MoveToPage wrapx 0 2
Key KP_2 A M MoveToPage wrapx 1 2
Key KP_3 A M MoveToPage wrapx 2 2
Key KP_4 A M MoveToPage wrapx 0 1
Key KP_5 A M MoveToPage wrapx 1 1
Key KP_6 A M MoveToPage wrapx 2 1
Key KP_7 A M MoveToPage wrapx 0 0
Key KP_8 A M MoveToPage wrapx 1 0
Key KP_9 A M MoveToPage wrapx 2 0
#############################
# Colorset
###############################
Colorset 1 bg #EAE9E9
Colorset 2 fg black, bg black, sh black, hi black, fgsh black, RootTransparent buffer, Tint #edeceb 50
Colorset 3 Translucent #EAE9E9 50
Colorset 4 fg #fff, bg #2e2e2e, sh #dbe4e7, hi #dbe4e7
Colorset 5 fg black, bg white, sh white, fgsh white, VGradient 128 #f1f1f1 #EAE9E9
Colorset 6 bg #f8f8f8
Colorset 7 RootTransparent buffer, Tint #EAE9E9 0
#FvwmPager Colorset
Colorset 8 fg white, bg white, hi black, \
RootTransparent buffer, Tint white 0
Colorset 9 fg white, bg white, hi black, \
RootTransparent buffer, Tint white 20
Colorset 10 fg black, bg white
Colorset 11 fg white, bg white, hi white, \
Pixmap pa_minwinoff.png
Colorset 12 fg white, bg white, hi white, \
Pixmap pixmap.png
*FvwmFormDefault: Colorset 1
*FvwmFormDefault: ItemColorset 2
#############################
# WindowDecoration
###############################
#DestroyDecor recreate WindowDecoration
#AddToDecor WindowDecoration
#+ TitleStyle Height 20 -- flat
#+ TitleStyle Active Colorset 5 -- flat
#+ TitleStyle Inactive Colorset 1 -- Flat
#+ ButtonStyle 1 Active (MiniIcon) Inactive (MiniIcon)
#+ ButtonStyle 2 Active (Pixmap close.png) \
# Inactive (Pixmap inactive.png) \
# AllUp (Pixmap active.png)
#+ ButtonStyle 4 Active (Pixmap max.png) \
# Inactive (Pixmap inactive.png) \
# AllUp (Pixmap active.png)
#+ ButtonStyle 6 Active (Pixmap min.png) \
# Inactive (Pixmap inactive.png) \
# AllUp (Pixmap active.png)
#+ ButtonStyle All -- Flat UseTitleStyle
#+ BorderStyle -- Flat
#####Decor#####
DestroyDecor recreate WindowDecoration
AddToDecor WindowDecoration
+ TitleStyle Height 20 -- flat
+ TitleStyle Active Colorset 5 -- flat
+ TitleStyle Inactive Colorset 1 -- Flat
+ ButtonStyle 1 AllActive (MiniIcon) AllInactive (MiniIcon)
+ ButtonStyle 2 ActiveUp (Pixmap close_active_up.png) \
ActiveDown (Pixmap close_active_down.png) \
Inactive (Pixmap close_inactive.png)
+ ButtonStyle 4 ActiveUp (Pixmap max_active_up.png) \
ActiveDown (Pixmap max_active_down.png) \
Inactive (Pixmap max_inactive.png)
+ ButtonStyle 6 ActiveUp (Pixmap min_active_up.png) \
ActiveDown (Pixmap min_active_down.png) \
Inactive (Pixmap min_inactive.png)
+ ButtonStyle All -- Flat UseTitleStyle
+ BorderStyle -- Flat
#############################
# FvwmButtons
###############################
DestroyModuleConfig FvwmButtons
*FvwmButtons: Geometry 48x25+1-2
*FvwmButtons: Frame 0
*FvwmButtons: Padding 0 0
*FvwmButtons: Colorset 7
*FvwmButtons: (1x1+0+0, Icon start.png, \
PressIcon start-here.png, \
Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +0+490 +0 +0`, \
Action(Mouse 3) `Exec roxterm`)
#############################
# FvwmPager
###############################
DestroyModuleConfig FvwmPager
*FvwmPager: Geometry 170x140+20+600
*FvwmPager: BorderWidth 0
*FvwmPager: Balloons All
*FvwmPager: SmallFont none
*FvwmPager: Font none
*FvwmPager: BalloonFont "StringEncoding=UTF-8:xft:STHeiti:size=9:encoding=iso10646-1"
*FvwmPager: BallonYOffset +2
*FvwmPager: WindowBorderWidth 1
*FvwmPager: WindowLabelFormat ""
*FvwmPager: MoveThreshold 0
*FvwmPager: UseSkipList
*FvwmPager: Rows 1
*FvwmPager: Columns 1
*FvwmPager: NoSeparators
*FvwmPager: ShapeLabels
*FvwmPager: Colorset * 8
*FvwmPager: HilightColorset * 9
*FvwmPager: BalloonColorset * 10
*FvwmPager: WindowColorsets 11 12
#############################
# Menu
###############################
MenuStyle * MenuColorset 3, ActiveColorset 4
MenuStyle * BorderWidth 0, HilightBack, ActiveFore
MenuStyle * Hilight3DThickness 0, !Animation
MenuStyle * Font "StringEncoding=UTF-8:xft:STHeiti:size=10:encoding=iso10646-1"
MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately, PopupOffset 1 400
MenuStyle * TitleUnderlines0, TrianglesSolid
MenuStyle * ItemFormat "%s%|%5.i%5.5l%5.5r%.5>%|%i"
MenuStyle * VerticalItemSpacing 0, VerticalTitleSpacing 0
MenuStyle * RoundedCorners, SlightlyRoundedCorners
DestroyMenu menu_WindowOps
AddToMenu menu_WindowOps
+ DynamicPopupAction Function WindowOpsFunc
DestroyMenu menu_WindowOpsAdv
AddToMenu menu_WindowOpsAdv
+ DynamicPopupAction Function WindowOpsFuncAdv
DestroyMenu MenuFvwmRoot
AddToMenu "MenuFvwmRoot@$[FVWM_USERDIR]/images/menu/menu_side_black.png@"
+ *$[FVWM_USERDIR]/images/menu/menu_up.png* Title
+ "终端"%terminal.png% Exec sakura
+ "文件夹"%pcmanfm.png% Exec rox-filer
+ "运行.."%run.png% Exec gmrun
+ "" Nop
+ "编程相关"%accessories.png% Popup Accessories
#+ "游戏相关"%games.png% Popup Games
+ "图形相关"%graphics.png% Popup Graphics
+ "网络相关"%internet.png% Popup Internet
+ "办公相关"%office.png% Popup Office
+ "多媒体"%media.png% Popup Media
+ "系统工具"%system.png% Popup System
+ "" Nop
+ "配置文件"%preferences.png% Popup Preferences
+ "重启 Fvwm"%restart.png% Restart
+ "注销"%quit.png% Quit
+ *$[FVWM_USERDIR]/images/menu/menu_down.png* Title
DestroyMenu Accessories
AddToMenu Accessories 编程
+ "Calculator"%calc.png% Exec gcalctool
+ "Geany"%geany.png% Exec geany
+ "Leafpad"%leafpad.png% Exec leafpad
+ "Root Terminal"%terminal.png% Exec gksu sakura
+ "Terminal"%terminal.png% Exec sakura
+ "File-roller"%file-roller.png% Exec file-roller
DestroyMenu Games
AddToMenu Games 游戏
+ "Xmoto"%xmoto.png% Exec xmoto
+ "Xopenliero"%liero.png% Exec xopenlireo
DestroyMenu Graphics
AddToMenu Graphics 图形
+ "Comix"%comix.png% Exec comix
+ "Gimp 2.6"%gimp.png% Exec gimp
+ "Gqview"%gqview.png% Exec gqview
+ "Inkscape"%inkscape.png% Exec inkscape
+ "Pencil"%pencil.png% Exec pencil
DestroyMenu Internet
AddToMenu Internet 网络
+ "Ms Msn"%Emesene.png% Exec emesene
+ "Linux QQ"%QQ.png% Exec qq
+ "Epiphany"%epiphany.png% Exec epiphany
+ "Firefox"%firefox.png% Exec firefox -P "firefox3" -no-remote
+ "Bt Down"%Transmission.png% Exec transmission
+ "Chrome"%chrome.png% Exec chromium-browser --enable-plugins
DestroyMenu Office
AddToMenu Office 办公
+ "AbiWord"%abiword.png% Exec abiword
+ "Gnumeric"%gnumeric.png% Exec gnumeric
+ "Xchm"%xchm.png% Exec xchm
+ "FoxitReader"%xpdf.png% Exec FoxitReader
DestroyMenu Media
AddToMenu Media 多媒体
+ "Sonata"%sonata_large.png% Exec sonata
+ "Gmlive"%gmlive.png% Exec totem
+ "Mplayer"%mplayer.png% Exec gmplayer
+ "亦歌桌面版 "%sound.png% Exec /opt/1g1g-air/亦歌桌面版\(AIR\)/bin/亦歌桌面版\(AIR\)
DestroyMenu System
AddToMenu System "系统工具"
+ "Gconf-editor"%config.png% Exec gconf-editor
+ "Gparted"%gparted.png% Exec gparted
+ "Nautilus"%natuilus.png% Exec nautilus --no-desktop
+ "VirtualBox"%VirtualBox.png% Exec VirtualBox
+ "Pcmanfm"%pcmanfm.png% Exec pcmanfm
+ "Xkill"%kill.png% Exec xkill
DestroyMenu Preferences
AddToMenu Preferences 配置`
+ MissingSubmenuFunction ConfigBrowser
+ "Servers"%server.png% Popup MenuServices
+ "Edit Configs"%doc.png% Popup MenuEditConfigs
+ "Wallpaper"%wallpaper.png% Popup $[walldir] Menu 100 0
+ "Gamma"%theme.png% Popup MenuGamma
+ "Screenshot"%screenshot.png% Popup MenuScreenshot
+ "" Nop
+ "FvwmConsole"%terminal.png% Module FvwmConsole
+ "GTK+ 2.0 主题管理"%theme.png% Exec gtk-chtheme
+ "Qt-config"%preferences.png% Exec qtconfig
AddToMenu MenuServices
+ Mldonkey Popup MenuMldonkey
+ Vsftpd Popup MenuVsftpd
+ Sshd Popup MenuSshd
+ Httpd Popup MenuHttpd
#+ 囗囗囗/囗囗囗囗囗囗囗 Popup MenuTor
+ MySQL Popup MenuMySQL
+ "" Nop
+ Conky Popup MenuConky
+ Tint Popup MenuTint
+ Xcompmgr Popup MenuXcompmgr
AddToMenu MenuMldonkey
+ start Exec xterm -e su -c "/etc/init.d/mldonkey-server force-start"
+ stop Exec xterm -e su -c "/etc/init.d/mldonkey-server stop"
AddToMenu MenuVsftpd
+ start Exec xterm -e su -c "/etc/init.d/vsftpd start"
+ stop Exec xterm -e su -c "/etc/init.d/vsftpd stop"
AddToMenu MenuHttpd
+ start Exec xterm -e su -c "/etc/init.d/apache2 start"
+ stop Exec xterm -e su -c "/etc/init.d/apache2 stop"
AddToMenu MenuSshd
+ start Exec xterm -e su -c "/etc/init.d/ssh start"
+ stop Exec xterm -e su -c "/etc/init.d/ssh stop"
#AddToMenu MenuTor
#+ start Exec xterm -e su -c "/etc/init.d/囗囗囗 start && /etc/init.d/囗囗囗囗囗囗囗 start"
#+ stop Exec xterm -e su -c "/etc/init.d/囗囗囗囗囗囗囗 stop && /etc/init.d/囗囗囗 stop"
AddToMenu MenuMySQL
+ start Exec xterm -e su -c "/etc/init.d/mysql start && /etc/init.d/mysql-ndb start && /etc/init.d/mysql-ndb-mgm start"
+ stop Exec xterm -e su -c "/etc/init.d/mysql stop && /etc/init.d/mysql-ndb stop && /etc/init.d/mysql-ndb-mgm stop"
AddToMenu MenuConky
+ start Exec conky -c $[FVWM_USERDIR]/ownfiles/conkyrc-color
+ stop Exec killall conky
AddToMenu MenuTint
+ start Exec tint -c $[FVWM_USERDIR]/ownfiles/tintrc_black
+ stop Exec killall tint
AddToMenu MenuXcompmgr
+ start Exec xcompmgr -Ss -n -Cc -fF -I-10 -O-10 -D1 -t-3 -l-4 -r4
+ stop Exec killall xcompmgr
AddToMenu MenuEditConfigs
+ "fvwm config" Exec leafpad $FVWM_USERDIR/config
+ "conkyrc" Exec leafpad $[FVWM_USERDIR]/ownfiles/conkyrc-color
+ "tintrc" Exec leafpad $[FVWM_USERDIR]/ownfiles/tintrc_black
+ "" Nop
+ ".startx-errors" Exec leafpad $HOME/.startx-errors
+ "xorg.conf" Exec gksu leafpad /etc/X11/xorg.conf
AddToMenu MenuGamma
+ "Default Gamma" Exec xgamma -gamma 1
+ "Gamma 2.2" Exec xgamma -gamma 2.2
AddToMenu MenuScreenshot
+ "全屏截图" Exec scrot -q '/home/bora/%Y-%m-%d-%H-%M-%S_$wx$h.png' -e 'gpicview $f'
+ "全屏截图 (延迟5秒)" Exec sleep 5s && scrot -q '/home/bora/%Y-%m-%d-%H-%M-%S_$wx$h.png' -e 'gpicview $f'
+ "区域截图" Exec scrot -b -s -q 100 screen-%F_%H%M%S.jpg -e 'gpicview $f'