From fe459fbab36278b49364cf4da4fddc4d5fe64e99 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 18 Aug 2017 20:37:50 -0400 Subject: [PATCH] menu: Add USER_*_DIR macros. 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