1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

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.
This commit is contained in:
Doug Torrance
2017-08-18 20:37:50 -04:00
committed by Carlos R. Mafra
parent 5f2dac318c
commit fe459fbab3

View File

@@ -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