Package: wmaker / 0.95.7-8

54_Debian_wmmacros.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
Index: wmaker-crm/WindowMaker/wmmacros
===================================================================
--- wmaker-crm.orig/WindowMaker/wmmacros
+++ wmaker-crm/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