/usr/share/WindowMaker/wmmacros is in wmaker-common 0.95.7-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80  | /*
 * Some generic macros for WindowMaker configuration files
 * 
 */
#ifndef WMMACROS_
#define WMMACROS_
#define HAVE_XLESS
/*
 * WS_BACK - sets the root background texture to VAL
 */
#define WS_BACK EXEC wdwrite WindowMaker WorkspaceBack 
/*
 * CLEARROOT - set the root background to nothing
 */
#define CLEARROOT xsetroot
/*
 * SETSTYLE FILE - loads a style file 
 */
#define SETSTYLE EXEC cd $GNUSTEP_USER_ROOT/Library/WindowMaker/Styles; setstyle
/*
 * 
 * MANUAL_SEARCH(ITEM) - search manual page for ITEM
 * 
 * You might need to change this according to what's the exit status of your 
 * man(1). This is for the one that comes with Linux (RedHat)
 */
#ifdef HAVE_XLESS
#define MANUAL_SEARCH(ITEM)          \
        if ( man ITEM > /dev/null ); then \
		man ITEM | xless;\
	else \
                xmessage -center -title "Manual Browser" \
                        Sorry, but there is no manual page \
                        entry for ITEM...;\
        fi
#else
#define MANUAL_SEARCH(ITEM)          \
        if ( man ITEM > /dev/null ); then \
		xterm -e man ITEM; \
	else \
                xmessage -center -title "Manual Browser" \
                        Sorry, but there is no manual page \
                        entry for ITEM...;\
        fi
#endif
/*
 * Paths to system configuration directories
 */
#define THEMES_DIR		/usr/share/WindowMaker/Themes
#define STYLES_DIR		/usr/share/WindowMaker/Styles
#define ICON_SETS_DIR		/usr/share/WindowMaker/IconSets
#define BACKGROUNDS_DIR		/usr/share/WindowMaker/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
#define GrayScale		1
#define StaticColor		2
#define PseudoColor		3
#define TrueColor		4
#define DirectColor		5
#endif
 |