diff options
Diffstat (limited to 'doc/fluxbox-style.5.in')
-rw-r--r-- | doc/fluxbox-style.5.in | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/doc/fluxbox-style.5.in b/doc/fluxbox-style.5.in index f4dfb61..c2910c7 100644 --- a/doc/fluxbox-style.5.in +++ b/doc/fluxbox-style.5.in | |||
@@ -1,13 +1,13 @@ | |||
1 | '\" t | 1 | '\" t |
2 | .\" Title: fluxbox-style | 2 | .\" Title: fluxbox-style |
3 | .\" Author: Henrik Kinnunen <fluxgen@fluxbox.org> | 3 | .\" Author: Henrik Kinnunen <fluxgen@fluxbox.org> |
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> | 4 | .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> |
5 | .\" Date: 28 October 2011 | 5 | .\" Date: 30 December 2012 |
6 | .\" Manual: Fluxbox Manual | 6 | .\" Manual: Fluxbox Manual |
7 | .\" Source: fluxbox-style.txt | 7 | .\" Source: fluxbox-style.txt |
8 | .\" Language: English | 8 | .\" Language: English |
9 | .\" | 9 | .\" |
10 | .TH "FLUXBOX\-STYLE" "5" "28 October 2011" "fluxbox\-style\&.txt" "Fluxbox Manual" | 10 | .TH "FLUXBOX\-STYLE" "5" "30 December 2012" "fluxbox\-style\&.txt" "Fluxbox Manual" |
11 | .\" ----------------------------------------------------------------- | 11 | .\" ----------------------------------------------------------------- |
12 | .\" * Define some portability stuff | 12 | .\" * Define some portability stuff |
13 | .\" ----------------------------------------------------------------- | 13 | .\" ----------------------------------------------------------------- |
@@ -202,48 +202,37 @@ toolbar\&.clock\&.pixmap: clock_background\&.xpm | |||
202 | This feature might need some investigation, reports say that sometimes the resources color and colorTo must be set and then they may not be set\&. | 202 | This feature might need some investigation, reports say that sometimes the resources color and colorTo must be set and then they may not be set\&. |
203 | .sp | 203 | .sp |
204 | All gradiented textures are composed of two color values: the \fIcolor\fR and \fIcolorTo\fR resources\&. When \fBInterlaced\fR is used in \fBSolid\fR mode, the \fIcolorTo\fR resource is used to find the interlacing color\&. | 204 | All gradiented textures are composed of two color values: the \fIcolor\fR and \fIcolorTo\fR resources\&. When \fBInterlaced\fR is used in \fBSolid\fR mode, the \fIcolorTo\fR resource is used to find the interlacing color\&. |
205 | .SH "A WORD ABOUT FONTS" | 205 | .SH "FONT EFFECTS" |
206 | .sp | 206 | .sp |
207 | We should comment about fonts before we move on to the complete component list\&. fluxbox(1) supports different options for text\&. These options currently include bold, halo and shadow\&. To set these do this: fontname\-size:options for any of the font components in the style file\&. For example: | 207 | In addition to specifying the font\-family and the font\-weight via the supported font\-rendering\-engine (eg, Xft), fluxbox(1) supports some effects: \fIhalo\fR and \fIshadow\fR\&. To set the shadow effect: |
208 | .sp | 208 | .sp |
209 | .if n \{\ | 209 | .if n \{\ |
210 | .RS 4 | 210 | .RS 4 |
211 | .\} | 211 | .\} |
212 | .nf | 212 | .nf |
213 | menu\&.title\&.font: sans\-8:bold,shadow | 213 | menu\&.title\&.font: sans\-8:bold |
214 | menu\&.title\&.effect: shadow | ||
215 | menu\&.title\&.shadow\&.color: green | ||
216 | menu\&.title\&.shadow\&.x: 3 | ||
217 | menu\&.title\&.shadow\&.y: 3 | ||
214 | .fi | 218 | .fi |
215 | .if n \{\ | 219 | .if n \{\ |
216 | .RE | 220 | .RE |
217 | .\} | 221 | .\} |
218 | .sp | 222 | .sp |
219 | The latest versions of fluxbox(1) (> 0\&.9\&.8) also support different values for these text options\&. The possibilities are as follows: | 223 | To set the halo effect: |
220 | .sp | 224 | .sp |
221 | .if n \{\ | 225 | .if n \{\ |
222 | .RS 4 | 226 | .RS 4 |
223 | .\} | 227 | .\} |
224 | .nf | 228 | .nf |
225 | \-\-\-\-\-\-\-\- | 229 | menu\&.title\&.font: sans\-8:bold |
226 | Shadow color=<colorname> offsetx=<integer> offsety=<integer> Halo color=<colorname> | 230 | menu\&.title\&.effect: halo |
227 | \-\-\-\-\-\-\-\- | 231 | menu\&.title\&.halo\&.color: green |
228 | .fi | 232 | .fi |
229 | .if n \{\ | 233 | .if n \{\ |
230 | .RE | 234 | .RE |
231 | .\} | 235 | .\} |
232 | .sp | ||
233 | For the case of completeness, here are some real world examples: | ||
234 | .sp | ||
235 | .if n \{\ | ||
236 | .RS 4 | ||
237 | .\} | ||
238 | .nf | ||
239 | *\&.font: Verdana\-10:bold,shadow:offsetx=2;offsety=4;color=green | ||
240 | *\&.font: Verdana\-10:halo:color=blue | ||
241 | .fi | ||
242 | .if n \{\ | ||
243 | .RE | ||
244 | .\} | ||
245 | .sp | ||
246 | Of course this could all be placed on one line\&. Also note that for the offset options, negative integers are allowed\&. | ||
247 | .SS "FONT PROBLEMS" | 236 | .SS "FONT PROBLEMS" |
248 | .sp | 237 | .sp |
249 | If you have problems installing fonts or getting them to work, you should read the docs page at xfree\&.org\&. Here is a link to one of these: \m[blue]\fBhttp://xfree\&.org/4\&.3\&.0/fonts2\&.html#3\fR\m[] | 238 | If you have problems installing fonts or getting them to work, you should read the docs page at xfree\&.org\&. Here is a link to one of these: \m[blue]\fBhttp://xfree\&.org/4\&.3\&.0/fonts2\&.html#3\fR\m[] |
@@ -366,6 +355,8 @@ menu\&.frame\&.textColor: <color> | |||
366 | menu\&.hilite: <texture type> | 355 | menu\&.hilite: <texture type> |
367 | menu\&.hilite\&.color: <color> | 356 | menu\&.hilite\&.color: <color> |
368 | menu\&.hilite\&.colorTo: <color> | 357 | menu\&.hilite\&.colorTo: <color> |
358 | menu\&.hilite\&.font: <font> | ||
359 | menu\&.hilite\&.justify: <{left|center|right}> | ||
369 | menu\&.hilite\&.pixmap: <filename> | 360 | menu\&.hilite\&.pixmap: <filename> |
370 | menu\&.hilite\&.textColor: <color> | 361 | menu\&.hilite\&.textColor: <color> |
371 | menu\&.itemHeight: <integer> | 362 | menu\&.itemHeight: <integer> |