aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathias <mathias>2004-11-30 17:47:39 (GMT)
committermathias <mathias>2004-11-30 17:47:39 (GMT)
commit06dd816c9c8e695c9cd9d74e7b51284c996704df (patch)
tree97bfe148c0767c3be31fa079c32ab42345a58f6d
parent518d99d8d24081fa109b8d682c521fe83d79584f (diff)
downloadfluxbox_pavel-06dd816c9c8e695c9cd9d74e7b51284c996704df.zip
fluxbox_pavel-06dd816c9c8e695c9cd9d74e7b51284c996704df.tar.bz2
updated docs from curt micol
-rw-r--r--doc/fluxstyle.1.in489
1 files changed, 270 insertions, 219 deletions
diff --git a/doc/fluxstyle.1.in b/doc/fluxstyle.1.in
index d0c7f33..9d8c548 100644
--- a/doc/fluxstyle.1.in
+++ b/doc/fluxstyle.1.in
@@ -22,7 +22,7 @@
22.\" files on http://www.fluxbox.org and http://www.fluxmod.dk 22.\" files on http://www.fluxbox.org and http://www.fluxmod.dk
23.\" 23.\"
24.\" Created and Updated for version 0.9.7 by Curt Micol <asenchi@asenchi.com> 24.\" Created and Updated for version 0.9.7 by Curt Micol <asenchi@asenchi.com>
25.\" 25
26.\" Define this: <blockquote><pre> 26.\" Define this: <blockquote><pre>
27.de EX 27.de EX
28.ne 5 28.ne 5
@@ -37,91 +37,103 @@
37.if n .sp 1 37.if n .sp 1
38.if t .sp .5 38.if t .sp .5
39.. 39..
40
40.\" Begin actual page 41.\" Begin actual page
41.\" 42
42.TH fluxstyle 1 "January 7th, 2004" "0.9.8" 43.TH fluxstyle 1 "November 29th, 2004" "0.9.10"
43.SH NAME 44.SH NAME
44fluxstyle \- all you need to know about Fluxbox styles 45fluxstyle \- A comprehensive look at styles/themes for Fluxbox
45.SH DESCRIPTION 46.SH DESCRIPTION
46.\" 47
47.\" Taken from the documentation 48.\" Taken from the documentation
48.\" 49
49.SS What is a Style? 50.SS What is a Style?
50A style is basically a theme for the 51Styles, sometimes referred to as Themes, are a graphical overlay for the
51.IR Fluxbox(1) 52.IR Fluxbox(1)
52window manager. It is a simple ASCII text file that tells Fluxbox how 53window manager. If you wanted to get to know Fluxbox, the styles
53to generate the appearance of the different components of the window manager. 54would be the 'look' of the 'look and feel'.
54The default installation of Fluxbox is shipped with many classic styles that 55.PP
55show the customization of current Fluxbox versions. They are usually located in 56Styles are simple ASCII text files that tell Fluxbox how to generate the
56.IR ~/.fluxbox/styles 57appearance of different components of the window manager. The default
57and in the global Fluxbox share directory 58installation of Fluxbox is shipped with many classic examples that show a
58.IR @pkgdatadir@/styles 59great deal of what one could do. To use one of the standard styles navigate
59which may vary depending on the method of installation used. To use one of 60to the 'System Styles' menu under your main Fluxbox menu.
60the styles shipped with Fluxbox, look in your root menu under the configure
61part of the menu for 'System Styles'.
62.PP 61.PP
63Fluxbox uses its own graphics class to render its images on the fly. By using 62Fluxbox uses it's own graphics class to render its images on the fly. By
64style files, you can determine at a great level of configurability what your 63using styles you can determine, at a great level, of configurability what your
65desktop will look like. Fluxbox styles are compatible with those of the 64desktop will look like. Since Fluxbox was derived from Blackbox many often
66Blackbox window manager (where Fluxbox originated). Users migrating from 65wonder if old themes will work on the latest releases of Blackbox. Well they
67Blackbox can use their current favourite themes. 66basically do, but you will have to tune them since the Fluxbox code has
67changed quite a bit since the initial grab.
68 68
69.SH STRUCTURE OF STYLES 69.SH STRUCTURE
70The style is made up of a few major components which then have their own 70A style is made up of a few major components which then have their own
71sub-directives. The toolbar, menu, slit and window are the major components. The 71sub-directives. The major components are as follows:
72.PP
73The
72.IR window.* 74.IR window.*
73directives control the appearance of your window frames, 75directives control the appearance of the window frames,
74.IR window.tab.* 76.IR window.tab.*
75controls the appearance of the window tabs. 77controls the appearance of the window tabs,
76.IR menu.* 78.IR menu.*
77controls the appearance of the popup menu that you see when you right click 79controls the appearance of the popup menu that you see when you right click on
78on the desktop. 80the desktop.
79.IR toolbar.* 81.IR toolbar.*
80is the bar you will see at the top or bottom of your screen. Finally the 82is the bar you will see at the top or bottom of your screen. Finally the
81.IR slit.* 83.IR slit.*
82has options you can use to customize the appearance of the slit. However 84has options you can use to customize the appearance of the slit. However if
83if you don't set the slit directives specifically, the slit's appearance is controlled 85you don't set the slit directives specifically, the slit's appearance is
84by the 86controlled by the toolbar directives instead.
85.IR toolbar.*
86directives instead.
87.PP 87.PP
88To understand how the style mechanism works, it is nice to know a litte about how 88To understand how the style mechanism works, it is nice to know a little about
89X11 resources work. 89how X11 resources work. X11 resources consist of a key and a value. The key
90.PP 90is constructed of several smaller keys (sometimes referred to as children),
91X11 resources consist of a key and a value. The key si constructed of several smaller 91delimited by a period (.). Keys may also contain an asterisk (*) to serve as
92keys (sometimes referred to as children), delimited by a period (.). Keys may also 92a wildcard, which means that one line of text will match several keys. This
93contain a asterisk (*) to serve as a wildcard, which means that one line of typed text 93is useful for styles that are based on one or two colors.
94will match several keys. This is useful for styles that are based on one or two colors.
95 94
96.SH LOCATION OF STYLES 95.SH LOCATION
97We'll cover quickly where styles can be found and placed after you create your own. 96There are many places to store your styles, the most common is in your
98.PP 97.IR ~/.fluxbox/styles
99There are a number of default styles that come with the installation, while we have already 98directory. The initial installation will place the default styles in
100covered this, we will again just provide a central location for all style locations. These
101default styles are located in
102.IR @pkgdatadir@/styles 99.IR @pkgdatadir@/styles
103providing a default configureation at installation. 100providing a basic usable configuration.
104.PP 101.PP
105Once you create your own, you can create a directory in 102When creating your own style, create a directory (normally the name of your
106.IR ~/.fluxbox/ 103style) in
107called 'styles'. While there isn't an official structure of how to package your style, one way that is recommended is creating a directory named after your style and placing your pixmaps directory in there along with a theme.cfg. The theme.cfg file being your created style. So for example if I created a style called 'MyStyle' I would create the following: 104.IR ~/.fluxbox/styles/
105(If the 'styles' directory doesn't exist, create that also). While there
106isn't an official structure, it is common to create a directory named after
107your style and place your pixmaps directory (if required) in there along with
108a file called theme.cfg (may also be named style.cfg). This file is where you
109will construct your style using the components covered later in this manual
110page. An example of steps taken when beginning a style project of your own
111may look like:
108.EX 112.EX
109mkdir -p ~/.fluxbox/styles/MyStyle 113$ cd
110cd ~/.fluxbox/styles/MyStyle 114$ mkdir -p ~/.fluxbox/styles/YourStyle/pixmaps
111mkdir pixmaps 115$ cd ~/.fluxbox/styles/YourStyle
112vi theme.cfg (this being where you design your style with 116$ nano theme.cfg
113 the necessary components)
114.EE 117.EE
115If you follow this, the path to your pixmaps will be: 118Output of a packaged style should look like the following:
116.IR ~/fluxbox/styles/MyStyle/pixmaps 119.EX
117which makes it a bit easier to setup up and distribute your style. 120$ cd
121$ tar -tjvf YourStyle.tar.bz2
122 .fluxbox/styles/YourStyle/theme.cfg
123 .fluxbox/styles/YourStyle/pixmaps
124 .fluxbox/styles/YourStyle/pixmaps/stick.xpm
125 ...
126.EE
127Of course, all of these are just preferences, Fluxbox allows for the
128customization of many things, including how you handle your styles. Just
129remember, however, that if you plan to distribute your style you may find some
130community bickering if you don't follow practices. :)
118 131
119.SH CREATING STYLES 132.SH CREATING YOUR STYLE
120As discussed in the 133As discussed above, Fluxbox allows you to configure its four main components:
121.IR STRUCTURE 134the toolbar, menus, slit and window decorations. Remember that you can
122section of this man page, Fluxbox allows you to configure its four main components: the toolbar, the menus, the 135customize the slit with its own directives, otherwise the slit will take the
123slit and the window decorations. Remember that you can customize the slit with its own 136appearance of the toolbar.
124directives, but if you don't, it will take the appearance of the toolbar.
125.PP 137.PP
126Here are some quick examples to illustrate basic syntax: 138Here are some quick examples to illustrate basic syntax:
127.EX 139.EX
@@ -142,57 +154,63 @@ And with
142.EX 154.EX
143*font: -b&h-lucida-medium-r-normal-*-*-140-* 155*font: -b&h-lucida-medium-r-normal-*-*-140-*
144.EE 156.EE
145you set the font resource for all keys to this font name all at once. 157you set the font resource for all keys to this font name all at once (For
146(For information about the fonts installed on your system, you can use a program like 158information about the fonts installed on your system, you can use a
159program like
147.IR xfontsel "(1), " gtkfontsel ", or " xlsfonts "(1).)" 160.IR xfontsel "(1), " gtkfontsel ", or " xlsfonts "(1).)"
148.PP 161.PP
149This last example brings up wildcards and overrides. In a Fluxbox style you can set a value 162In the last example you will notice the wildcard (*) before font. In a
150with a wild card. The previous example means that every font in the style will be what is 163Fluxbox style you can set a value with a wild card. The example means that
151specified. You can do this with any value. For example if you wanted all of the text to be one 164every font in the style will be what is specified. You can do this with any
152color you could do: 165component/value. For example if you wanted all of the text to be one color
166you would do:
153.EX 167.EX
154*textColor: rgb:3/4/5 168*textColor: rgb:3/4/5
155.EE 169.EE
156This means you can setup a very simple style with very few properties. See 170This means that you can setup a very simple style with very few properties.
171See the
157.IR EXAMPLES 172.IR EXAMPLES
158below for an example of this in practice. You can also override wildcards in the style 173below for an example of this in practice. Fluxbox also allows you to override
159file. Lets take our example above and add an override for the toolbar.clock.textColor: 174wildcards in your style. Lets take our example above and add an override for
175the
176.IR toolbar.clock.textColor
177component:
160.EX 178.EX
161*textColor: rgb:3/4/5 179*textColor: rgb:3/4/5
162toolbar.clock.textColor: rgb:255/0/0 180toolbar.clock.textColor: rgb:255/0/0
163.EE 181.EE
164With that all of the text will be 'rgb:3/4/5' except the toolbar clock text which will be 'rgb:255/0/0' 182With that all of the text will be 'rgb:3/4/5' except the toolbar clock text
183which will be 'rgb:255/0/0'.
165.PP 184.PP
166Now, what makes Fluxbox just so spectacular, is its ability to render textures 185Now what makes Fluxbox so spectacular is its ability to render textures on the
167on the fly. 186fly. A texture is a fillpattern that you see on some styles. Texture descriptions are specified directly to the key that they should
168Texture descriptions are specified directly to the key that they 187apply to, e.g.:
169should apply to, e.g.:
170.ta \w'toolbar.clock.colorTo:\ 'u 188.ta \w'toolbar.clock.colorTo:\ 'u
171.EX 189.EX
172toolbar.clock: Raised Gradient Diagonal Bevel1 190toolbar.clock: Raised Gradient Diagonal Bevel1
173toolbar.clock.color: rgb:8/6/4 191toolbar.clock.color: rgb:8/6/4
174toolbar.clock.colorTo: rgb:4/3/2 192toolbar.clock.colorTo: rgb:4/3/2
175.EE 193.EE
176Don't worry, we will explain right now! 194Don't worry, we will explain what these mean. A texture description consists
177A texture description consists of up to five fields, which are as follows: 195of up to five fields, which are as follows:
178.TP 196.TP
179.B Flat / Raised / Sunken 197.B Flat | Raised | Sunken
180gives the component either a flat, raised or sunken appearance. 198gives the component either a flat, raised or sunken appearance.
181.TP 199.TP
182.B Gradient / Solid 200.B Gradient | Solid
183tells Fluxbox to draw either a solid color or a gradient texture. 201tells Fluxbox to draw either a solid color or a gradient texture.
184.TP 202.TP
185.B Horizontal / Vertical / Diagonal / Crossdiagonal / Pipecross / Elliptic / Rectangle / Pyramid 203.B Horizontal | Vertical | Diagonal | Crossdiagonal | Pipecross | Elliptic | Rectangle | Pyramid
186Select one of these texture types. They only work when also 204Select one of these texture types. They only work when
187.B Gradient 205.B Gradient
188is specified! 206is specified.
189.TP 207.TP
190.B Interlaced 208.B Interlaced
191tells Fluxbox to interlace the texture (darken every other line). 209tells Fluxbox to interlace the texture (darken every other line).
192This option is most commonly used with gradiented textures, but from Fluxbox 210This option is most commonly used with gradiented textures, but from Fluxbox
193version 0.60.3 on, it also works in solid textures. 211version 0.60.3 on, it also works in solid textures.
194.TP 212.TP
195.B Bevel1 / Bevel2 213.B Bevel1 | Bevel2
196tells Fluxbox which type of bevel to use. 214tells Fluxbox which type of bevel to use.
197Bevel1 is the default bevel. 215Bevel1 is the default bevel.
198The shading is placed on the edge of the image. 216The shading is placed on the edge of the image.
@@ -224,139 +242,167 @@ is used in
224mode, the 242mode, the
225.I colorTo 243.I colorTo
226resource is used to find the interlacing color. 244resource is used to find the interlacing color.
227.PP 245
228.SH A WORD ABOUT FONTS 246.SH A WORD ABOUT FONTS
229We should comment about fonts before we move on to the complete component 247We should comment about fonts before we move on to the complete component
230list. 248list. Fluxbox supports different options for text. These options currently
231.PP 249include bold, halo and shadow. To set these do this:
232Fluxbox supports different options for text. These options currently include bold and shadow. To set these do this, fontname-size:options, for any of the font components in the style file. For example: 250.IR fontname-size:options
251for any of the font components in the style file. For example:
233.EX 252.EX
234menu.title.font: sans-8:bold,shadow 253menu.title.font: sans-8:bold,shadow
235.EE 254.EE
255The latest versions of Fluxbox (> 0.9.8) also support different values for
256these text options. The possibilities are as follows:
257.B Shadow
258color=<colorname>
259offsetx=<integer>
260offsety=<integer>
261.B Halo
262color=<colorname>
263For the case of completeness, here are some real world examples:
264.EX
265*.font: Verdana-10:bold,shadow:offsetx=2;offsety=4;color=green
266*.font: Verdana-10:halo:color=blue
267.EE
268Of course this could all be placed on one line. Also note that for the offset
269options, negative integers are allowed.
270
271.SH FONT PROBLEMS
236If 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: http://xfree.org/4.3.0/fonts2.html#3. 272If 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: http://xfree.org/4.3.0/fonts2.html#3.
273
237.SH FULL COMPONENT LIST 274.SH FULL COMPONENT LIST
238Here is the complete component list, together with which kind of value they take. 275Here is the exhaustive component list for Fluxbox styles. Each one is listed
239Comments are preceded with an exclamation sign (!), which is also used for 276with their type of value required. Comments in a style file are preceded with
240comments in Fluxbox style c.q. X resource files. 277an exclamation point (!) which we also use here so that these can be pasted
278into a new theme.cfg to be customized appropiately. Please note that in order
279to keep styles consistent it is often the practice of stylists to provide all
280of the theme-items in their style file even if they are not used. This allows
281the user the ease of changing different components.
241.PP 282.PP
242.\" The comments also to be translated! 283.\" The comments also to be translated!
243.SS WINDOW OPTIONS 284.SS WINDOW OPTIONS
244Many, many things you can do with window design in Fluxbox, below are your options. Have fun. 285Many, many things you can do with window design in Fluxbox, below are your options. Have fun.
245.EX 286.EX
246window.label.focus: <texture type> 287window.bevelWidth: <integer>
247window.label.focus.pixmap: <filename> 288window.borderColor: <color>
248window.label.focus.color: <color> 289window.borderWidth: <integer>
249window.label.focus.colorTo: <color>
250window.label.unfocus: <texture type>
251window.label.unfocus.pixmap: <filename>
252window.label.unfocus.color: <color>
253window.label.unfocus.colorTo: <color>
254window.title.focus: <texture type>
255window.title.focus.pixmap: <filename>
256window.title.focus.color: <color>
257window.title.focus.colorTo: <color>
258window.title.unfocus: <texture type>
259window.title.unfocus.pixmap: <filename>
260window.title.unfocus.color: <color>
261window.title.unfocus.colorTo: <color>
262window.handle.focus: <texture type>
263window.handle.focus.pixmap: <filename>
264window.handle.focus.color: <color>
265window.handle.focus.colorTo: <color>
266window.handle.unfocus: <texture type>
267window.handle.unfocus.pixmap: <filename>
268window.handle.unfocus.color: <color>
269window.handle.unfocus.colorTo: <color>
270window.button.focus: <texture type> 290window.button.focus: <texture type>
271window.button.focus.pixmap: <filename>
272window.button.focus.color: <color> 291window.button.focus.color: <color>
273window.button.focus.colorTo: <color> 292window.button.focus.colorTo: <color>
274window.button.unfocus: <texture type> 293window.button.focus.picColor: <color>
275window.button.unfocus.pixmap: <filename> 294window.button.focus.pixmap: <filename>
276window.button.unfocus.color: <color>
277window.button.unfocus.colorTo: <color>
278window.button.pressed: <texture type> 295window.button.pressed: <texture type>
279window.button.pressed.pixmap: <filename>
280window.button.pressed.color: <color> 296window.button.pressed.color: <color>
281window.button.pressed.colorTo: <color> 297window.button.pressed.colorTo: <color>
298window.button.pressed.pixmap: <filename>
299window.button.unfocus: <texture type>
300window.button.unfocus.color: <color>
301window.button.unfocus.colorTo: <color>
302window.button.unfocus.picColor: <color>
303window.button.unfocus.pixmap: <filename>
304window.close.pixmap: <filename>
305window.close.pressed.pixmap: <filename>
306window.close.unfocus.pixmap: <filename>
307window.font: <font>
308window.frame.focusColor: <color>
309window.frame.unfocusColor: <color>
282window.grip.focus: <texture type> 310window.grip.focus: <texture type>
283window.grip.focus.pixmap: <filename>
284window.grip.focus.color: <color> 311window.grip.focus.color: <color>
285window.grip.focus.colorTo: <color> 312window.grip.focus.colorTo: <color>
313window.grip.focus.pixmap: <filename>
286window.grip.unfocus: <texture type> 314window.grip.unfocus: <texture type>
287window.grip.unfocus.pixmap: <filename>
288window.grip.unfocus.color: <color> 315window.grip.unfocus.color: <color>
289window.grip.unfocus.colorTo: <color> 316window.grip.unfocus.colorTo: <color>
317window.grip.unfocus.pixmap: <filename>
318window.handle.focus: <texture type>
319window.handle.focus.color: <color>
320window.handle.focus.colorTo: <color>
321window.handle.focus.pixmap: <filename>
322window.handle.unfocus: <texture type>
323window.handle.unfocus.color: <color>
324window.handle.unfocus.colorTo: <color>
325window.handle.unfocus.pixmap: <filename>
326window.handleWidth: <integer>
327window.iconify.pixmap: <filename>
328window.iconify.pressed.pixmap: <filename>
329window.iconify.unfocus.pixmap: <filename>
330window.justify: <{Left|Right|Center}>
331window.label.active: <texture type>
332window.label.active.textColor: <color>
333window.label.focus: <texture type>
334window.label.focus.color: <color>
335window.label.focus.colorTo: <color>
336window.label.focus.pixmap: <filename>
337window.label.unfocus: <texture type>
338window.label.unfocus.color: <color>
339window.label.unfocus.colorTo: <color>
340window.label.unfocus.pixmap: <filename>
290window.label.focus.textColor: <color> 341window.label.focus.textColor: <color>
291window.label.unfocus.textColor: <color> 342window.label.unfocus.textColor: <color>
292window.frame.focusColor: <color>
293window.frame.unfocusColor: <color>
294window.button.focus.picColor: <color>
295window.button.unfocus.picColor: <color>
296window.font: <font>
297window.justify:
298window.roundCorners:
299window.alpha: <integer>
300window.title.height: <integer>
301window.bevelWidth: <integer>
302window.handleWidth: <integer>
303window.borderWidth: <integer>
304window.borderColor: <color>
305window.close.pixmap: <filename>
306window.close.unfocus.pixmap: <filename>
307window.close.pressed.pixmap: <filename>
308window.maximize.pixmap: <filename> 343window.maximize.pixmap: <filename>
309window.maximize.unfocus.pixmap: <filename>
310window.maximize.pressed.pixmap: <filename> 344window.maximize.pressed.pixmap: <filename>
311window.iconify.pixmap: <filename> 345window.maximize.unfocus.pixmap: <filename>
312window.iconify.unfocus.pixmap: <filename> 346window.roundCorners: <{Top|Bottom}{Left|Right}>
313window.iconify.pressed.pixmap: <filename>
314window.shade.pixmap: <filename> 347window.shade.pixmap: <filename>
315window.shade.unfocus.pixmap: <filename>
316window.shade.pressed.pixmap: <filename> 348window.shade.pressed.pixmap: <filename>
349window.shade.unfocus.pixmap: <filename>
317window.stick.pixmap: <filename> 350window.stick.pixmap: <filename>
318window.stick.unfocus.pixmap: <filename>
319window.stick.pressed.pixmap: <filename> 351window.stick.pressed.pixmap: <filename>
352window.stick.unfocus.pixmap: <filename>
320window.stuck.pixmap: <filename> 353window.stuck.pixmap: <filename>
321window.stuck.unfocus.pixmap: <filename> 354window.stuck.unfocus.pixmap: <filename>
355window.title.focus: <texture type>
356window.title.focus.color: <color>
357window.title.focus.colorTo: <color>
358window.title.focus.pixmap: <filename>
359window.title.height: <integer>
360window.title.unfocus: <texture type>
361window.title.unfocus.color: <color>
362window.title.unfocus.colorTo: <color>
363window.title.unfocus.pixmap: <filename>
322.EE 364.EE
323.SS MENU OPTIONS 365.SS MENU OPTIONS
324Everything you need to make your menu look pretty. 366Everything you need to make your menu look pretty.
325.EX 367.EX
326menu.title.textColor: <color> 368menu.bevelWidth: <integer>
327menu.frame.textColor: <color> 369menu.borderColor: <color>
328menu.hilite.textColor: <color> 370menu.borderWidth: <integer>
329menu.frame.disableColor: <color> 371menu.bullet:
330menu.title: <texture type> 372menu.bullet.position:
331menu.title.pixmap: <filename>
332menu.title.color: <color>
333menu.title.colorTo: <color>
334menu.frame: <texture type> 373menu.frame: <texture type>
335menu.frame.pixmap: <filename>
336menu.frame.color: <color> 374menu.frame.color: <color>
337menu.frame.colorTo: <color> 375menu.frame.colorTo: <color>
376menu.frame.disableColor: <color>
377menu.frame.font: <font>
378menu.frame.justify: <{Left|Right|Center}>
379menu.frame.pixmap: <filename>
380menu.frame.textColor: <color>
338menu.hilite: <texture type> 381menu.hilite: <texture type>
339menu.hilite.pixmap: <filename>
340menu.hilite.color: <color> 382menu.hilite.color: <color>
341menu.hilite.colorTo: <color> 383menu.hilite.colorTo: <color>
384menu.hilite.pixmap: <filename>
385menu.hilite.textColor: <color>
386menu.itemHeight: <integer>
387menu.title: <texture type>
388menu.title.color: <color>
389menu.title.colorTo: <color>
342menu.title.font: <font> 390menu.title.font: <font>
343menu.frame.font: <font> 391menu.title.pixmap: <filename>
344menu.frame.justify: 392menu.title.textColor: <color>
345menu.title.justify: 393menu.title.justify: <{Left|Right|Center}>
346menu.bullet.position: 394menu.titleHeight: <integer>
347menu.bullet: 395menu.roundCorners: <{Top|Bottom}{Left|Right}>
348menu.borderWidth:
349menu.bevelWidth:
350menu.borderColor: <color>
351menu.submenu.pixmap: <filename>
352menu.selected.pixmap: <filename> 396menu.selected.pixmap: <filename>
397menu.submenu.pixmap: <filename>
353menu.unselected.pixmap: <filename> 398menu.unselected.pixmap: <filename>
354menu.roundCorners:
355menu.titleHeight: <integer>
356menu.itemHeight: <integer>
357.EE 399.EE
358.SS ROOT COMMAND OPTION 400.SS ROOT COMMAND
359This is how you set your background within your style. Use the official fluxbox background program, fbsetbg. It is distributed with Fluxbox, and can also be downloaded from here: http://www.xs4all.nl/~hanb/software/fluxbox/fbsetbg.html 401Rarely are you going to want to use this option. There is a command that is
402similar that is used in the
403.IR init
404file. It is bad style to use this in your style as it forces the user to use
405your background. So note that it is good practice to leave this blank or out of the style altogether.
360.EX 406.EX
361rootCommand: <string> 407rootCommand: <string>
362.EE 408.EE
@@ -364,72 +410,74 @@ rootCommand: <string>
364Here are all of the options for the slit. 410Here are all of the options for the slit.
365.EX 411.EX
366slit: <texture type> 412slit: <texture type>
367slit.pixmap: <filename>
368slit.color: <color>
369slit.colorTo: <color>
370slit.borderWidth: <integer>
371slit.bevelWidth: <integer> 413slit.bevelWidth: <integer>
372slit.borderColor: <color> 414slit.borderColor: <color>
415slit.borderWidth: <integer>
416slit.color: <color>
417slit.colorTo: <color>
418slit.pixmap: <filename>
373.EE 419.EE
374.SS TOOLBAR OPTIONS 420.SS TOOLBAR OPTIONS
375Below you will find all of the configuration possibilities for the toolbar. The list is pretty extensive and offers you many options to make your toolbar look just the way you want it. 421Below you will find all of the configuration possibilities for the toolbar. The list is pretty extensive and offers you many options to make your toolbar look just the way you want it.
376.EX 422.EX
377toolbar: <texture type> 423toolbar: <texture type>
378toolbar.pixmap: <filename> 424toolbar.bevelWidth: <integer (0-255)>
425toolbar.borderColor: <color>
426toolbar.borderWidth: <integer>
427toolbar.button.scale: <integer>
379toolbar.color: <color> 428toolbar.color: <color>
380toolbar.colorTo: <color> 429toolbar.colorTo: <color>
381toolbar.borderWidth: <integer>
382toolbar.borderColor: <color>
383toolbar.bevelWidth: <0-255>
384toolbar.shaped: <boolean>
385toolbar.alpha: <integer>
386toolbar.height: <integer>
387toolbar.clock.font: <font>
388toolbar.clock.textColor: <color>
389toolbar.clock.justify:
390toolbar.clock: <texture type> 430toolbar.clock: <texture type>
431toolbar.clock.borderColor: <color>
432toolbar.clock.borderWidth: <integer>
433toolbar.clock.font: <font>
434toolbar.clock.justify: <{Left|Right|Center}>
391toolbar.clock.pixmap: <filename> 435toolbar.clock.pixmap: <filename>
392toolbar.clock.color: <color> 436toolbar.clock.color: <color>
393toolbar.clock.colorTo: <color> 437toolbar.clock.colorTo: <color>
394toolbar.clock.borderWidth: <integer> 438toolbar.clock.textColor: <color>
395toolbar.clock.borderColor: <color> 439toolbar.height: <integer>
396toolbar.workspace.font: <font>
397toolbar.workspace.textColor: <color>
398toolbar.workspace.justify:
399toolbar.workspace: <texture type>
400toolbar.workspace.pixmap: <filename>
401toolbar.workspace.color: <color>
402toolbar.workspace.colorTo: <color>
403toolbar.workspace.borderWidth: <integer>
404toolbar.workspace.borderColor: <color>
405toolbar.iconbar.focused: <texture type> 440toolbar.iconbar.focused: <texture type>
406toolbar.iconbar.focused.pixmap: <filename>
407toolbar.iconbar.focused.color: <color> 441toolbar.iconbar.focused.color: <color>
408toolbar.iconbar.focused.colorTo: <color> 442toolbar.iconbar.focused.colorTo:<color>
443toolbar.iconbar.focused.pixmap: <filename>
409toolbar.iconbar.unfocused: <texture type> 444toolbar.iconbar.unfocused: <texture type>
410toolbar.iconbar.unfocused.pixmap: <filename>
411toolbar.iconbar.unfocused.color: <color> 445toolbar.iconbar.unfocused.color: <color>
412toolbar.iconbar.unfocused.colorTo: <color> 446toolbar.iconbar.unfocused.colorTo: <color>
447toolbar.iconbar.unfocused.pixmap: <filename>
413toolbar.iconbar.empty: <texture type> 448toolbar.iconbar.empty: <texture type>
414toolbar.iconbar.empty.pixmap: <filename>
415toolbar.iconbar.empty.color: <color> 449toolbar.iconbar.empty.color: <color>
416toolbar.iconbar.empty.colorTo: <color> 450toolbar.iconbar.empty.colorTo: <color>
417toolbar.iconbar.focused.borderWidth: <integer> 451toolbar.iconbar.empty.pixmap: <filename>
418toolbar.iconbar.focused.borderColor: <color> 452toolbar.iconbar.focused.borderColor: <color>
419toolbar.iconbar.unfocused.borderWidth: <integer> 453toolbar.iconbar.focused.borderWidth: <integer>
420toolbar.iconbar.unfocused.borderColor: <color> 454toolbar.iconbar.unfocused.borderColor: <color>
421toolbar.iconbar.borderWidth: <integer> 455toolbar.iconbar.unfocused.borderWidth: <integer>
422toolbar.iconbar.borderColor: <color> 456toolbar.iconbar.borderColor: <color>
457toolbar.iconbar.borderWidth: <integer>
423toolbar.iconbar.focused.font: <font> 458toolbar.iconbar.focused.font: <font>
459toolbar.iconbar.focused.justify: <{Left|Right|Center}>
424toolbar.iconbar.focused.textColor: <color> 460toolbar.iconbar.focused.textColor: <color>
425toolbar.iconbar.focused.justify:
426toolbar.iconbar.unfocused.font: <font> 461toolbar.iconbar.unfocused.font: <font>
462toolbar.iconbar.unfocused.justify: <{Left|Right|Center}>
427toolbar.iconbar.unfocused.textColor: <color> 463toolbar.iconbar.unfocused.textColor: <color>
428toolbar.iconbar.unfocused.justify: 464toolbar.pixmap: <filename>
465toolbar.shaped: <boolean>
466toolbar.workspace.font: <font>
467toolbar.workspace.justify: <{Left|Right|Center}>
468toolbar.workspace.textColor: <color>
469toolbar.workspace: <texture type>
470toolbar.workspace.borderColor: <color>
471toolbar.workspace.borderWidth: <integer>
472toolbar.workspace.color: <color>
473toolbar.workspace.colorTo: <color>
474toolbar.workspace.pixmap: <filename>
429.EE 475.EE
476
430.SH EXAMPLES 477.SH EXAMPLES
431This may seem like a long list, but remember, when you create your own style, you 478This list may seem intimidating, but remember, when you create your own style
432can easily set lots of keys with a single command, e.g. 479you can easily set a majority of these keys with a single component. For an
480example of this:
433.EX 481.EX
434.ta \w'*unfocus.textColor:\ 'u 482.ta \w'*unfocus.textColor:\ 'u
435*color: slategrey 483*color: slategrey
@@ -440,14 +488,15 @@ can easily set lots of keys with a single command, e.g.
440*unfocus.textColor: lightgrey 488*unfocus.textColor: lightgrey
441*font: lucidasans-10 489*font: lucidasans-10
442.EE 490.EE
443This sets already nice defaults for many components. 491This sets nice defaults for many components.
444 492
445.SH COLOR FORMATS 493.SH COLOR FORMATS
446These are the color formats for styles: 494These are the color formats for styles:
447.EX 495.EX
448#000000 (Hexadecimal) 496#000000 (Hexadecimal)
449/usr/X11R6/lib/X11/rgb.txt 497rgb:<0-255>/<0-255>/<0-255>
450.EE 498.EE
499See /usr/X11R6/lib/X11/rgb.txt for an explaination.
451 500
452.SH AUTHOR and CREDITS 501.SH AUTHOR and CREDITS
453Blackbox was written and maintained by Brad Hughes 502Blackbox was written and maintained by Brad Hughes
@@ -473,17 +522,21 @@ The Official Fluxbox website:
473.PP 522.PP
474Fluxmod was a Fluxbox community site where you could find many new styles that 523Fluxmod was a Fluxbox community site where you could find many new styles that
475work with this version of Fluxbox and take advantage of all the new features. 524work with this version of Fluxbox and take advantage of all the new features.
476However, fluxmod is no more, but a new site gaining popularity is: 525However, fluxmod is no more, but it's maintainer still dabbles in style
526creation. You can find his site here:
477.nh 527.nh
478.B http://www.fluxcandy.org 528.B http://www.ikaro.dk
479.hy 529.hy
480.PP 530.PP
481You can also find more styles here: 531You can also find more styles here:
482.nh 532.nh
483.B http://themes.freshmeat.net/ 533.B http://themes.freshmeat.net/
484.PP 534.PP
485This manpage was composed from various resources including the documentation, fluxbox 535This manpage was composed from various resources including the official
486man page and numerous other resources by Curt Micol 536documentation,
537.IR fluxbox(1)
538man page and numerous other resources by Curt "Asenchi" Micol. If you notice
539any errors or problems with this page, please contact him here:
487.nh 540.nh
488<asenchi@asenchi.com> 541<asenchi@asenchi.com>
489.hy 542.hy
@@ -493,10 +546,8 @@ and using the great contributions of
493.nh 546.nh
494Numerous other languages could be available if someone jumps in. 547Numerous other languages could be available if someone jumps in.
495.SH SEE ALSO 548.SH SEE ALSO
496.IR fluxbox (1) 549.IR fluxbox(1)
497.IR bsetroot (1) 550.IR fbsetbg(1)
551.IR bsetroot(1)
498 552
499.\" ADDITIONS TO MAKE 553.\" ADDITIONS TO MAKE
500.\" Change layout of theme items
501.\" Become a little more verbose on color usage.
502.\"