2 * Some generic macros for WindowMaker configuration files
12 * WS_BACK - sets the root background texture to VAL
14 #define WS_BACK EXEC wdwrite WindowMaker WorkspaceBack
17 * CLEARROOT - set the root background to nothing
19 #define CLEARROOT xsetroot
24 * MANUAL_SEARCH(ITEM) - search manual page for ITEM
26 * You might need to change this according to what's the exit status of your
27 * man(1). This is for the one that comes with Linux (RedHat)
30 #define MANUAL_SEARCH(ITEM) \
31 if ( man ITEM > /dev/null ); then \
34 xmessage -center -title "Manual Browser" \
35 Sorry, but there is no manual page \
39 #define MANUAL_SEARCH(ITEM) \
40 if ( man ITEM > /dev/null ); then \
43 xmessage -center -title "Manual Browser" \
44 Sorry, but there is no manual page \
51 * Paths to system configuration directories
53 #define THEMES_DIR #wmdatadir#/Themes
54 #define STYLES_DIR #wmdatadir#/Styles
55 #define ICON_SETS_DIR #wmdatadir#/IconSets
56 #define BACKGROUNDS_DIR #wmdatadir#/Backgrounds
58 #define USER_THEMES_DIR #usergnusteppath#/Library/WindowMaker/Themes
59 #define USER_STYLES_DIR #usergnusteppath#/Library/WindowMaker/Styles
60 #define USER_ICON_SETS_DIR #usergnusteppath#/Library/WindowMaker/IconSets
61 #define USER_BACKGROUNDS_DIR #usergnusteppath#/Library/WindowMaker/Backgrounds