##########################################################################m
# Definition des bureaux virtuels
###########################################################################
DeskTopSize 5x1
EdgeScroll 0 0
EdgeThickness 1
EdgeResistance 0 1
IgnoreModifiers L2
EwmhBaseStruts 0 0 0 0
ClickTime 550
OpaqueMoveSize unlimited
SnapAttraction 10 All Screen
HideGeometryWindow
MoveThreshold 5
###########################################################################
# Style, Bordures (aucunes) et titre (uniquement pour Eterm) des fenetre
###########################################################################
Style * BorderWidth 0, HandleWidth 0
Style * GrabFocus, SloppyFocus, MouseFocusClickRaises, ResizeOpaque
Style * MinOverlapPlacement, NoPPosition
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
###########################################################################
# Style des fenetre a appliquer suivant l'aplication
###########################################################################
Style * UseDecor DefaultDecor, NoTitle
Style FvwmPager NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip, NoHandles, BorderWidth 1, FixedPosition, NeverFocus
Style GameConsole NoHandles, !Borders, NoTitle, FixedPosition, WindowListSkip, Sticky, StaysOnTop
###########################################################################
# Bind de la souris
###########################################################################
Mouse 0 A M Resize
Mouse 1 A M Move
Mouse 1 I A Iconify
###########################################################################
# Fonctions des binds clavier
###########################################################################
AddToFunc milieu
+ I WarpToWindow 50 50
+ I Pick PipeRead "echo AnimatedMove `expr \\( $[vp.width] - $[w.width] \\) / 2`p `expr \\( $[vp.height] - $[w.height] \\) / 2`p warp"
AddToFunc gauche
+ I WarpToWindow 50 50
+ I Pick AnimatedMove 8p keep warp
AddToFunc haut
+ I WarpToWindow 50 50
+ I Pick AnimatedMove keep 32p warp
AddToFunc droite
+ I WarpToWindow 50 50
+ I Pick PipeRead "echo AnimatedMove `expr $[vp.width] - $[w.width] - 8`p keep warp"
AddToFunc bas
+ I WarpToWindow 50 50
+ I Pick PipeRead "echo AnimatedMove keep `expr $[vp.height] - $[w.height] - 32`p warp"
DestroyFunc WinfowListFunc
AddToFunc WindowListFunc
+ I WarpToWindow 50 50
###########################################################################
# Bind du clavier
###########################################################################
Key F10 A M Exec exec thunar
Key F11 A M Exec exec xterm
Key F12 A M Exec exec gmrun
Key P A M FvwmRearrange -tile -a -animate -noresize -mn 2 8p 32p
Key L A M Exec exec gnome-screensaver-command -l
Key M A M Function milieu
Key Up A M Function haut
Key Right A M Function droite
Key Down A M Function bas
Key Left A M Function gauche
Key C A M Pick Close
Key Return A M Maximize 100 100
Key F1 A M GotoPage 0 0
Key F2 A M GotoPage 1 0
Key F3 A M GotoPage 2 0
Key F4 A M GotoPage 3 0
Key F5 A M GotoPage 4 0
Key A A M MoveToPage 0 0
Key Z A M MoveToPage 1 0
Key E A M MoveToPage 2 0
Key R A M MoveToPage 3 0
Key T A M MoveToPage 4 0
Key Tab A M Windowlist (CurrentPage) root c c NoCurrentDeskTitle NoGeometry CurrentAtEnd
###########################################################################
# Fvwm execute StartFunction lors de son (re)demarrage
###########################################################################
AddToFunc StartFunction
+ I Exec xfce-mcs-manager
+ I Test (Init) Exec gnome-screensaver
+ I Test (Init) Exec Esetroot /home/kevin/Multimedia/Images/Wallpaper/8BITSVengeance.jpg
+ I FvwmEvent FvwmEvent-NewWindow
+ I Module FvwmPager
###########################################################################
# Definition du Pager
###########################################################################
DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 200x24-0-0
*FvwmPager: MiniIcons
*FvwmPager: Colorset * 60
*FvwmPager: HilightColorset * 61
*FvwmPager: WindowColorsets 63 62
*FvwmPager: BalloonColorset * 62
*FvwmPager: Font none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "shadow=0 0 SE:xft:Concielian:pixelsize=16"
*FvwmPager: BalloonBorderWidth 0
*FvwmPager: UseSkipList
*FvwmPager: WindowBorderwidth 0
*FvwmPager: SloppyFocus
*FvwmPager: SolidSeparators
*FvwmPager: StaysOnTop
*FvwmPager: NoHandles Sticky
Colorset 60 fg white, bg #ffffff, RootTransparent
Colorset 61 fg white, bg #ffffff, Noshape, RootTransparent, Tint #ffffff 50
Colorset 62 fg white, bg #ffffff, RootTransparent, Tint red 35
Colorset 63 fg white, bg #ffffff, Noshape, RootTransparent, Tint #ffffff 30
###########################################################################
# Style du menu
###########################################################################
Colorset 0 fg black, bg #9cb2ce, sh #9cb2ce, hi #9cb2ce, Translucent #9cb2ce 50
MenuStyle * PopupOffset 1 100, PopupDelay 500
MenuStyle * Font "Shadow=0 0 SE:xft:Aquafont:size=24"
MenuStyle * MenuColorset 0
MenuStyle * BorderWidth 0, SeparatorsLong, TrianglesSolid
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%10.3>%2|"