aboutsummaryrefslogtreecommitdiff
path: root/doc/fluxbox-style.5.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/fluxbox-style.5.in')
-rw-r--r--doc/fluxbox-style.5.in41
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
202This feature might need some investigation, reports say that sometimes the resources color and colorTo must be set and then they may not be set\&. 202This 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
204All 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\&. 204All 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
207We 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: 207In 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
213menu\&.title\&.font: sans\-8:bold,shadow 213menu\&.title\&.font: sans\-8:bold
214menu\&.title\&.effect: shadow
215menu\&.title\&.shadow\&.color: green
216menu\&.title\&.shadow\&.x: 3
217menu\&.title\&.shadow\&.y: 3
214.fi 218.fi
215.if n \{\ 219.if n \{\
216.RE 220.RE
217.\} 221.\}
218.sp 222.sp
219The latest versions of fluxbox(1) (> 0\&.9\&.8) also support different values for these text options\&. The possibilities are as follows: 223To 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\-\-\-\-\-\-\-\- 229menu\&.title\&.font: sans\-8:bold
226Shadow color=<colorname> offsetx=<integer> offsety=<integer> Halo color=<colorname> 230menu\&.title\&.effect: halo
227\-\-\-\-\-\-\-\- 231menu\&.title\&.halo\&.color: green
228.fi 232.fi
229.if n \{\ 233.if n \{\
230.RE 234.RE
231.\} 235.\}
232.sp
233For 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
246Of 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
249If 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[] 238If 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>
366menu\&.hilite: <texture type> 355menu\&.hilite: <texture type>
367menu\&.hilite\&.color: <color> 356menu\&.hilite\&.color: <color>
368menu\&.hilite\&.colorTo: <color> 357menu\&.hilite\&.colorTo: <color>
358menu\&.hilite\&.font: <font>
359menu\&.hilite\&.justify: <{left|center|right}>
369menu\&.hilite\&.pixmap: <filename> 360menu\&.hilite\&.pixmap: <filename>
370menu\&.hilite\&.textColor: <color> 361menu\&.hilite\&.textColor: <color>
371menu\&.itemHeight: <integer> 362menu\&.itemHeight: <integer>