Inspired by the Debian patch 54_Debian_wmmacros.diff.  These macros are
actually already referenced in appearance.menu and background.menu, but
only Debian installations have taken advantage of them.

We use the new #usergnusteppath# macro to reference the user GNUstep path.
---
 WindowMaker/wmmacros.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/WindowMaker/wmmacros.in b/WindowMaker/wmmacros.in
index 8504def3..112422b9 100644
--- a/WindowMaker/wmmacros.in
+++ b/WindowMaker/wmmacros.in
@@ -55,6 +55,10 @@
 #define ICON_SETS_DIR          #wmdatadir#/IconSets
 #define BACKGROUNDS_DIR                #wmdatadir#/Backgrounds
 
+#define USER_THEMES_DIR         #usergnusteppath#/Library/WindowMaker/Themes
+#define USER_STYLES_DIR         #usergnusteppath#/Library/WindowMaker/Styles
+#define USER_ICON_SETS_DIR      #usergnusteppath#/Library/WindowMaker/IconSets
+#define USER_BACKGROUNDS_DIR    
#usergnusteppath#/Library/WindowMaker/Backgrounds
 
 #define StaticGray             0
 #define GrayScale              1
-- 
2.11.0


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to