aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h48
1 files changed, 43 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index e71b6a2..b1160b5 100644
--- a/config.def.h
+++ b/config.def.h
@@ -126,19 +126,21 @@ static const char *colorname[] = {
126 [255] = 0, 126 [255] = 0,
127 127
128 /* more colors can be added after 255 to use with DefaultXX */ 128 /* more colors can be added after 255 to use with DefaultXX */
129
130 "gray90",
131 "black",
129 "#cccccc", 132 "#cccccc",
130 "#555555", 133 "#555555",
131}; 134};
132 135
133
134/* 136/*
135 * Default colors (colorname index) 137 * Default colors (colorname index)
136 * foreground, background, cursor, reverse cursor 138 * foreground, background, cursor, reverse cursor
137 */ 139 */
138unsigned int defaultfg = 7; 140unsigned int defaultfg = 257;
139unsigned int defaultbg = 0; 141unsigned int defaultbg = 256;
140static unsigned int defaultcs = 256; 142static unsigned int defaultcs = 258;
141static unsigned int defaultrcs = 257; 143static unsigned int defaultrcs = 259;
142 144
143/* 145/*
144 * Default shape of cursor 146 * Default shape of cursor
@@ -170,6 +172,42 @@ static unsigned int mousebg = 0;
170static unsigned int defaultattr = 11; 172static unsigned int defaultattr = 11;
171 173
172/* 174/*
175 * Xresources preferences to load at startup
176 */
177ResourcePref resources[] = {
178 { "font", STRING, &font },
179 { "color0", STRING, &colorname[0] },
180 { "color1", STRING, &colorname[1] },
181 { "color2", STRING, &colorname[2] },
182 { "color3", STRING, &colorname[3] },
183 { "color4", STRING, &colorname[4] },
184 { "color5", STRING, &colorname[5] },
185 { "color6", STRING, &colorname[6] },
186 { "color7", STRING, &colorname[7] },
187 { "color8", STRING, &colorname[8] },
188 { "color9", STRING, &colorname[9] },
189 { "color10", STRING, &colorname[10] },
190 { "color11", STRING, &colorname[11] },
191 { "color12", STRING, &colorname[12] },
192 { "color13", STRING, &colorname[13] },
193 { "color14", STRING, &colorname[14] },
194 { "color15", STRING, &colorname[15] },
195 { "background", STRING, &colorname[256] },
196 { "foreground", STRING, &colorname[257] },
197 { "cursorColor", STRING, &colorname[258] },
198 { "cursorColorReverse", STRING, &colorname[259] },
199 { "termname", STRING, &termname },
200 { "shell", STRING, &shell },
201 { "cursorShape", INTEGER, &cursorshape },
202 { "blinktimeout", INTEGER, &blinktimeout },
203 { "bellvolume", INTEGER, &bellvolume },
204 { "tabspaces", INTEGER, &tabspaces },
205 { "borderpx", INTEGER, &borderpx },
206 { "cwscale", FLOAT, &cwscale },
207 { "chscale", FLOAT, &chscale },
208};
209
210/*
173 * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set). 211 * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set).
174 * Note that if you want to use ShiftMask with selmasks, set this to an other 212 * Note that if you want to use ShiftMask with selmasks, set this to an other
175 * modifier, set to 0 to not use it. 213 * modifier, set to 0 to not use it.