Description: Macros for user paths. Based on Marcelo E. Magallon <mmagallo@debian.org> diff patch.
Author: Rodolfo García Peñas (kix) <kix@kix.es>
Last-Update: 2012-01-09
--- a/WindowMaker/wmmacros
+++ b/WindowMaker/wmmacros
@@ -22,7 +22,7 @@
 /*
  * SETSTYLE FILE - loads a style file 
  */
-#define SETSTYLE EXEC cd $HOME/GNUstep/Library/WindowMaker/Styles; setstyle 
+#define SETSTYLE EXEC cd $GNUSTEP_USER_ROOT/Library/WindowMaker/Styles; setstyle
 
 
 /*
@@ -60,6 +60,14 @@
 #define STYLES_DIR		#wmdatadir#/Styles
 #define ICON_SETS_DIR		#wmdatadir#/IconSets
 #define BACKGROUNDS_DIR		#wmdatadir#/Backgrounds
+#define LOCAL_THEMES_DIR	/usr/local/share/WindowMaker/Themes
+#define LOCAL_STYLES_DIR	/usr/local/share/WindowMaker/Styles
+#define LOCAL_ICON_SETS_DIR	/usr/local/share/WindowMaker/IconSets
+#define LOCAL_BACKGROUNDS_DIR	/usr/local/share/WindowMaker/Backgrounds
+#define USER_THEMES_DIR	$GNUSTEP_USER_ROOT/Library/WindowMaker/Themes
+#define USER_STYLES_DIR	$GNUSTEP_USER_ROOT/Library/WindowMaker/Styles
+#define USER_ICON_SETS_DIR	$GNUSTEP_USER_ROOT/Library/WindowMaker/IconSets
+#define USER_BACKGROUNDS_DIR	$GNUSTEP_USER_ROOT/Library/WindowMaker/Backgrounds
 
 
 #define StaticGray		0
