]> git.draconx.ca Git - fvwmconf.git/blobdiff - config
Split the .fvwm directory into global, common, and host-specific subdirectories.
[fvwmconf.git] / config
diff --git a/config b/config
index ca8f1c91454edbd4320819387cc81cc7dcbc046e..9a5a447e096964145fb82d06c1f5c0ee70b9a8bd 100644 (file)
--- a/config
+++ b/config
@@ -5,16 +5,15 @@ DestroyFunc InitFunction
 DestroyFunc StartFunction
 DestroyFunc ExitFunction
 SetEnv TERMINAL /home/nick/bin/urxvt.sh
+PipeRead 'echo SetEnv HOST `hostname`'
 
-# Features
-Read multiscreen
-Read nickstheme
-Read rootmenu
-Read wallpaper
-Read windowmenu
-Read bindings
-Read panels
-Read fullscreen
+# Global Features
+Read global/multiscreen
+Read global/fullscreen
+Read global/windowmenu
+
+# Machine-specific features
+Read $[HOST]/config
 
 # Virtual Desktops
 DesktopSize 6x1
@@ -39,18 +38,6 @@ OpaqueMoveSize -1
 Style * TileCascadePlacement, GrabFocusOff
 Style * ResizeOpaque
 Style * EWMHUseStrutHints, MwmButtons
-EwmhBaseStruts 0 0 0 42
-
-# Bindings
-Key grave A C Exec exec $[TERMINAL]
-
-# FVWM Console
-Key F3 A M Module FvwmConsole -terminal $[TERMINAL]
-Key F3 A M2 Module FvwmConsole -terminal $[TERMINAL]
-
-# Close Window
-Key F4 A M Close
-Key F4 A M2 Close
 
 # Window Buttons
 Mouse 1 I N IconClick
@@ -74,31 +61,6 @@ Style Xchat DecorateTransient
 Style EasyTag_Scanner DecorateTransient
 Style "Open Image" DecorateTransient
 
-#####
-# Modifier Key
-##########
-DestroyFunc Mouse1Func
-AddToFunc   Mouse1Func
- + C Raise
- + D Maximize 100 100
- + M Move
-
-DestroyFunc Mouse2Func
-AddToFunc   Mouse2Func
- + C Menu MenuWindow
- + D Maximize 0 100
-
-DestroyFunc Mouse3Func
-AddToFunc   Mouse3Func
- + C Lower
- + D Maximize 100 0
- + M PipeRead '. $[FVWM_USERDIR]/resize.sh $[pointer.wx] $[pointer.wy] $[w.width] $[w.height]'
-
-
-Mouse 1 WFT M Mouse1Func
-Mouse 2 WFT M Mouse2Func
-Mouse 3 WFT M Mouse3Func
-
 # URGENT!
 
 DestroyFunc UrgencyFunc