Update Serbian translation from master branch
[wmaker-crm.git] / WindowMaker / wmmacros.in
blob44fe12a2dc54052620e883f515fba18227a1754d
1 /*
2  * Some generic macros for WindowMaker configuration files
3  *
4  */
6 #ifndef WMMACROS_
7 #define WMMACROS_
9 #define HAVE_XLESS
12  * WS_BACK - sets the root background texture to VAL
13  */
14 #define WS_BACK EXEC wdwrite WindowMaker WorkspaceBack
17  * CLEARROOT - set the root background to nothing
18  */
19 #define CLEARROOT xsetroot
23  *
24  * MANUAL_SEARCH(ITEM) - search manual page for ITEM
25  *
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)
28  */
29 #ifdef HAVE_XLESS
30 #define MANUAL_SEARCH(ITEM)          \
31         if ( man ITEM > /dev/null ); then \
32                 man ITEM | xless;\
33         else \
34                 xmessage -center -title "Manual Browser" \
35                         Sorry, but there is no manual page \
36                         entry for ITEM...;\
37         fi
38 #else
39 #define MANUAL_SEARCH(ITEM)          \
40         if ( man ITEM > /dev/null ); then \
41                 xterm -e man ITEM; \
42         else \
43                 xmessage -center -title "Manual Browser" \
44                         Sorry, but there is no manual page \
45                         entry for ITEM...;\
46         fi
47 #endif
51  * Paths to system configuration directories
52  */
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
63 #define StaticGray              0
64 #define GrayScale               1
65 #define StaticColor             2
66 #define PseudoColor             3
67 #define TrueColor               4
68 #define DirectColor             5
70 #endif