Key Insert A CM Nop
Key N A CM Nop
+# When programs don't set the resolution...
+Key F12 A C Exec exec xrandr -s 0
+
# For moving windows around desktops.
Key J WFT CM DoPageMove 0
Key K WFT CM DoPageMove 1
Key 5 A CM GotoPage 4 0
Key 6 A CM GotoPage 5 0
+# Mousewheel stuff
+Mouse 5 R A GotoPage wrapx +1p 0p
+Mouse 4 R A GotoPage wrapx -1p 0p
+
+Mouse 4 T N Windowshade True
+Mouse 5 T N Windowshade False
+
DestroyFunc DoPageMove
AddToFunc DoPageMove
+ I GotoPage $0 0
AddToFunc ExitFunction
+ I KillModule FvwmPager
-+ I Exec kill `pgrep -P $PPID xfce4-panel`
++ I PipeRead 'kill `pgrep -P $PPID xfce4-panel` &>/dev/null'
++ I PipeRead 'kill `pgrep -P $PPID uim-toolbar-gtk` &>/dev/null'
# Stuff to handle pretty pictures on the background.
SetEnv SETROOT "fvwm-root -r"
-SetEnv BGFILE "$[FVWM_USERDIR]/wallpaper.png"
+SetEnv BGFILE "$[FVWM_USERDIR]/wallpaper$[screen].png"
SetEnv BGROOT "$[HOME]/wallpaper"
CopyMenuStyle * MenuWallpaper