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
23
* SETSTYLE FILE - loads a style file
25
#define SETSTYLE EXEC cd $HOME/GNUstep/Library/WindowMaker/Styles; setstyle
30
* MANUAL_SEARCH(ITEM) - search manual page for ITEM
32
* You might need to change this according to what's the exit status of your
33
* man(1). This is for the one that comes with Linux (RedHat)
36
#define MANUAL_SEARCH(ITEM) \
37
if ( man ITEM > /dev/null ); then \
40
xmessage -center -title "Manual Browser" \
41
Sorry, but there is no manual page \
45
#define MANUAL_SEARCH(ITEM) \
46
if ( man ITEM > /dev/null ); then \
49
xmessage -center -title "Manual Browser" \
50
Sorry, but there is no manual page \
57
* Paths to system configuration directories
59
#define THEMES_DIR #wmdatadir#/Themes
60
#define STYLES_DIR #wmdatadir#/Styles
61
#define ICON_SETS_DIR #wmdatadir#/IconSets
62
#define SOUND_SETS_DIR #wmdatadir#/SoundSets
63
#define BACKGROUNDS_DIR #wmdatadir#/Backgrounds