--- a/.fvwm/config Sun Dec 28 19:35:15 2008 +0200
+++ b/.fvwm/config Sun Dec 28 20:16:02 2008 +0200
@@ -39,6 +39,7 @@
#################
# Program Styles.
#################
+
# TODO need works.
Style "*" Icon 48x48/x.png, MiniIcon mini/x.png
# Style "XTerm" Icon 48x48/terminal.png, NoActiveIconOverride, MiniIcon mini/terminal.png
@@ -52,14 +53,60 @@
Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
+##################
+# Basic Functions.
+##################
+
+# DestroyFunc FuncName
+# AddToFunc FuncName
+# + I (Action to happen immediately)
+# + C (Action to happen on a mouse 'click)
+# + D (Action to happen on a mouse 'double click')
+# + H (Action to happen on a mouse 'hold')
+# + M (Action to happen on a mouse 'motion')
+
+DestroyFunc FvwmDeleteOrDestroy
+AddToFunc FvwmDeleteOrDestroy
++ H Nop
++ M Nop
++ C Delete
++ D Destroy
+
+DestroyFunc FvwmIconifyOrShade
+AddToFunc FvwmIconifyOrShade
++ C Iconify
++ D WindowShade
+
+DestroyFunc FvwmMaximize
+AddToFunc FvwmMaximize
++ H Nop
++ M Nop
++ C Maximize $0 $1
+
+DestroyFunc FvwmMoveOrIconify
+AddToFunc FvwmMoveOrIconify
++ M Move
++ D Iconify
+
# ############
# Key binding.
# ############
Key F1 A M Menu MenuFvwmRoot
+Key Super_L W CSM Delete
Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L
Key Super_L A N WindowList Root c c NoDeskSort
+Mouse 1 R A Menu Utilities Nop
+
+Mouse 1 1 A FvwmDeleteOrDestroy
+Mouse 1 3 A FvwmIconifyOrShade
+Mouse 1 5 A FvwmMaximize 93 100
+Mouse 2 5 A FvwmMaximize 100 0
+Mouse 3 5 A FvwmMaximize 0 100
+Mouse 1 T A FvwmMoveOrIconify
+Mouse 1 I A FvwmMoveOrIconify
+
# #####
# Menu.
# #####
@@ -82,8 +129,6 @@
+ my Popup MenuMy
+ fvwm Popup MenuFvwmRoot
-Mouse 1 R A Menu Utilities Nop
-
# ##########
# FvwmPager.
# ##########
@@ -108,6 +153,4 @@
AddToFunc StartFunction
+ I Module FvwmPager 0 2
-+ I Module FvwmAnimate
-+ I Module FvwmButtons