]> git.draconx.ca Git - fvwmconf.git/commitdiff
Add support for multiple screens.
authorNick Bowler <draconx@gmail.com>
Sun, 20 Apr 2008 06:36:15 +0000 (02:36 -0400)
committerNick Bowler <draconx@gmail.com>
Sun, 20 Apr 2008 06:36:15 +0000 (02:36 -0400)
config
multiscreen [new file with mode: 0644]
panels

diff --git a/config b/config
index 25c45f4bd04808a04d17bc41ef1bacfeb2ac109d..769e0c753a5c0a3c6fed9746e759e6207df2c8a2 100644 (file)
--- a/config
+++ b/config
@@ -7,6 +7,7 @@ DestroyFunc ExitFunction
 SetEnv TERMINAL /home/nick/bin/urxvt.sh
 
 # Features
+Read multiscreen
 Read nickstheme
 Read rootmenu
 Read wallpaper
@@ -111,6 +112,6 @@ Style xeyes !Title
 Style MPlayer EWMHUseStackingOrderHints
 
 # Initialization
-AddToFunc InitFunction
+AddToFunc InitFunction_Screen0
 + I Exec exec xscreensaver
 + I Exec exec gmpc
diff --git a/multiscreen b/multiscreen
new file mode 100644 (file)
index 0000000..97015cc
--- /dev/null
@@ -0,0 +1,15 @@
+# Some handy stuff for working with multiple screens.  Include before anyone
+# uses these features.
+
+DestroyFunc InitFunction_Screen$[screen]
+DestroyFunc StartFunction_Screen$[screen]
+DestroyFunc ExitFunction_Screen$[screen]
+
+AddToFunc InitFunction
++ I InitFunction_Screen$[screen]
+
+AddToFunc StartFunction
++ I StartFunction_Screen$[screen]
+
+AddToFunc ExitFunction
++ I ExitFunction_Screen$[screen]
diff --git a/panels b/panels
index a97465bfe24d776a9bf11ad660ac527bae8cef20..0d6c12bf347673de9fd6b0f042177d0ef971fb5d 100644 (file)
--- a/panels
+++ b/panels
@@ -21,6 +21,8 @@ DestroyModuleConfig FvwmPager: *
 
 AddToFunc StartFunction
 + I Module FvwmPager *
+
+AddToFunc StartFunction_Screen0
 + I Exec exec xfce4-panel
 + I Exec exec uim-toolbar-gtk-systray