# There are three places to specify startup commands. InitFunction, which 
# runs only when you first start FVWM2; RestartFunction, which runs when 
# you restart it, and StartFunction, which runs on startup AND restart.

# This sets my wallpaper
AddToFunc "StartFunction"
+	"I" Exec qiv -o steelblue -x /etc/X11/images/wall/atmos.jpg
+	"I" Module FvwmButtons -g -0-0
#+	"I" Module FvwmPager 0 0

# This starts up the Pager (bottom right) and a GKrellM (top right) when 
# FVWM2 starts
AddToFunc "InitFunction"
+	"I" Exec torsmo  
+	"I" Exec xscreensaver -nosplash
+	"I" Exec gkrellm2 -g -5-270
#+	"I" Exec xclock -digital -strftime '%H:%M:%S' -fg cyan -bg steelblue -geom -10-275 -update 1

# For actions where you want more than one function to be performed with a 
# single action.

AddToFunc "Move-or-Raise" "M" Move
+                         "M" Raise
+                         "C" Raise
+                         "D" Maximize 100 100

AddToFunc "Move-or-Lower" "M" Move
+                         "M" Lower
+                         "C" Lower
+                         "D" RaiseLower

AddToFunc "Move-or-Iconify" "M" Move
+                           "D" Iconify

AddToFunc "Resize-or-Raise" "M" Resize
+                           "M" Raise
+                           "C" Raise
+                           "D" RaiseLower

AddToFunc WindowListFunc
+ I WarpToWindow 50 50

