diff options
author | grubert <grubert> | 2004-02-06 16:10:50 (GMT) |
---|---|---|
committer | grubert <grubert> | 2004-02-06 16:10:50 (GMT) |
commit | 75a88500012fd374f0e82fb8c9af8672a5eca2af (patch) | |
tree | 1c2b910c1f6da23fda7543418f9fbf802d6709bd /doc | |
parent | 54fcccc44e7e3ca62c2bc90b7778eb4d172c79e7 (diff) | |
download | fluxbox_pavel-75a88500012fd374f0e82fb8c9af8672a5eca2af.zip fluxbox_pavel-75a88500012fd374f0e82fb8c9af8672a5eca2af.tar.bz2 |
Rename fluxboxstyle to fluxstyle.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fluxstyle.1 (renamed from doc/fluxboxstyle.1) | 396 |
1 files changed, 219 insertions, 177 deletions
diff --git a/doc/fluxboxstyle.1 b/doc/fluxstyle.1 index 11a4548..c2ba84a 100644 --- a/doc/fluxboxstyle.1 +++ b/doc/fluxstyle.1 | |||
@@ -1,14 +1,14 @@ | |||
1 | .\" | 1 | .\" AT THE BOTTOM IS ADD ONS TO THE PAGE search /ADDITIONS |
2 | .\" Manual page for Fluxbox Styles | 2 | .\" Manual page for Fluxbox Styles |
3 | .\" | 3 | .\" |
4 | .\" Fluxbox is Copyright (c) 2001-2004 Henrik Kinnunen | 4 | .\" Fluxbox is Copyright (c) 2001-2004 Henrik Kinnunen |
5 | .\" Fluxstyle(1) is Copyright (c) 2004 Curtis Micol | 5 | .\" Fluxstyle(1) is Copyright (c) 2004 Curt Micol |
6 | .\" | 6 | .\" |
7 | .\" This manual page is freely distrubted and modified. | 7 | .\" This manual page is freely distrubted and modified. |
8 | .\" Parts of the text are taken from websites and style | 8 | .\" Parts of the text are taken from websites and style |
9 | .\" files on http://www.fluxbox.org and http://www.fluxmod.dk | 9 | .\" files on http://www.fluxbox.org and http://www.fluxmod.dk |
10 | .\" | 10 | .\" |
11 | .\" Created and Updated for version 0.9.7 by Curtis Micol <asenchi@asenchi.com> | 11 | .\" Created and Updated for version 0.9.7 by Curt Micol <asenchi@asenchi.com> |
12 | .\" | 12 | .\" |
13 | .\" Define this: <blockquote><pre> | 13 | .\" Define this: <blockquote><pre> |
14 | .de EX | 14 | .de EX |
@@ -26,7 +26,7 @@ | |||
26 | .. | 26 | .. |
27 | .\" Begin actual page | 27 | .\" Begin actual page |
28 | .\" | 28 | .\" |
29 | .TH fluxstyle 1 "January 7th, 2004" "0.9.7" | 29 | .TH fluxstyle 1 "January 7th, 2004" "0.9.8" |
30 | .SH NAME | 30 | .SH NAME |
31 | fluxstyle \- all you need to know about Fluxbox styles | 31 | fluxstyle \- all you need to know about Fluxbox styles |
32 | .SH DESCRIPTION | 32 | .SH DESCRIPTION |
@@ -91,12 +91,17 @@ providing a default configureation at installation. | |||
91 | .PP | 91 | .PP |
92 | Once you create your own, you can create a directory in | 92 | Once you create your own, you can create a directory in |
93 | .IR ~/.fluxbox/ | 93 | .IR ~/.fluxbox/ |
94 | called 'styles'. Place your styles here and you will be able to access them from the configure | 94 | called '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: |
95 | portion of the Root Menu called 'User Styles'. This goes true for any directories associated | 95 | .EX |
96 | with your style. An example being, if you create a style with pixmaps, create | 96 | mkdir -p ~/.fluxbox/styles/MyStyle |
97 | .IR ~/.fluxbox/pixmaps | 97 | cd ~/.fluxbox/styles/MyStyle |
98 | and place your pixmaps here. Of course, this means that the path to your pixmaps in your style | 98 | mkdir pixmaps |
99 | file will be the same. | 99 | vi theme.cfg (this being where you design your style with |
100 | the necessary components) | ||
101 | .EE | ||
102 | If you follow this, the path to your pixmaps will be: | ||
103 | .IR ~/fluxbox/styles/MyStyle/pixmaps | ||
104 | which makes it a bit easier to setup up and distribute your style. | ||
100 | 105 | ||
101 | .SH CREATING STYLES | 106 | .SH CREATING STYLES |
102 | As discussed in the | 107 | As discussed in the |
@@ -207,176 +212,206 @@ mode, the | |||
207 | .I colorTo | 212 | .I colorTo |
208 | resource is used to find the interlacing color. | 213 | resource is used to find the interlacing color. |
209 | .PP | 214 | .PP |
210 | Here is the complete component list, also all components together with | 215 | .SH A WORD ABOUT FONTS |
211 | which kind of value they can contain. | 216 | We should comment about fonts before we move on to the complete component |
217 | list. | ||
218 | .PP | ||
219 | Fluxbox 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: | ||
220 | .EX | ||
221 | menu.title.font: sans-8:bold,shadow | ||
222 | .EE | ||
223 | 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: http://xfree.org/4.3.0/fonts2.html#3. | ||
224 | .SH FULL COMPONENT LIST | ||
225 | Here is the complete component list, together with which kind of value they take. | ||
212 | Comments are preceded with an exclamation sign (!), which is also used for | 226 | Comments are preceded with an exclamation sign (!), which is also used for |
213 | comments in Fluxbox style c.q. X resource files. | 227 | comments in Fluxbox style c.q. X resource files. |
214 | .PP | 228 | .PP |
215 | .ta \w'window.button.unfocus.picColor:\ 'u | ||
216 | .nf | ||
217 | .\" | ||
218 | .\" The comments also to be translated! | 229 | .\" The comments also to be translated! |
219 | .\" | 230 | .SS WINDOW OPTIONS |
220 | ! The toolbar itself | 231 | Many, many things you can do with window design in Fluxbox, below are your options. Have fun. |
221 | toolbar: Texture | 232 | .EX |
222 | toolbar.color: Color | 233 | window.label.focus: <texture type> |
223 | toolbar.colorTo: Color | 234 | window.label.focus.pixmap: <filename> |
224 | 235 | window.label.focus.color: <color> | |
225 | ! The buttons on the toolbar | 236 | window.label.focus.colorTo: <color> |
226 | toolbar.button: Texture or \fIParentRelative\fR | 237 | window.label.unfocus: <texture type> |
227 | toolbar.button.color: Color | 238 | window.label.unfocus.pixmap: <filename> |
228 | toolbar.button.colorTo: Color | 239 | window.label.unfocus.color: <color> |
229 | 240 | window.label.unfocus.colorTo: <color> | |
230 | ! Color of the button arrows | 241 | window.title.focus: <texture type> |
231 | toolbar.button.picColor: Color | 242 | window.title.focus.pixmap: <filename> |
232 | 243 | window.title.focus.color: <color> | |
233 | ! Buttons in pressed state | 244 | window.title.focus.colorTo: <color> |
234 | toolbar.button.pressed: Texture \fI(e.g. Sunken)\fR or \fIParentRelative\fR | 245 | window.title.unfocus: <texture type> |
235 | toolbar.button.pressed.color: Color | 246 | window.title.unfocus.pixmap: <filename> |
236 | toolbar.button.pressed.colorTo: Color | 247 | window.title.unfocus.color: <color> |
237 | 248 | window.title.unfocus.colorTo: <color> | |
238 | ! Color of pressed button arrows | 249 | window.handle.focus: <texture type> |
239 | toolbar.button.pressed.picColor: Color | 250 | window.handle.focus.pixmap: <filename> |
240 | 251 | window.handle.focus.color: <color> | |
241 | ! The toolbar workspace label | 252 | window.handle.focus.colorTo: <color> |
242 | toolbar.label: Texture or \fIParentRelative\fR | 253 | window.handle.unfocus: <texture type> |
243 | toolbar.label.color: Color | 254 | window.handle.unfocus.pixmap: <filename> |
244 | toolbar.label.colorTo: Color | 255 | window.handle.unfocus.color: <color> |
245 | toolbar.label.textColor: Color | 256 | window.handle.unfocus.colorTo: <color> |
246 | 257 | window.button.focus: <texture type> | |
247 | ! The toolbar window label | 258 | window.button.focus.pixmap: <filename> |
248 | toolbar.windowLabel: Texture or \fIParentRelative\fR | 259 | window.button.focus.color: <color> |
249 | toolbar.windowLabel.color: Color | 260 | window.button.focus.colorTo: <color> |
250 | toolbar.windowLabel.colorTo: Color | 261 | window.button.unfocus: <texture type> |
251 | toolbar.windowLabel.textColor: Color | 262 | window.button.unfocus.pixmap: <filename> |
252 | 263 | window.button.unfocus.color: <color> | |
253 | ! The toolbar clock | 264 | window.button.unfocus.colorTo: <color> |
254 | toolbar.clock: Texture or \fIParentRelative\fR | 265 | window.button.pressed: <texture type> |
255 | toolbar.clock.color: Color | 266 | window.button.pressed.pixmap: <filename> |
256 | toolbar.clock.colorTo: Color | 267 | window.button.pressed.color: <color> |
257 | toolbar.clock.textColor: Color | 268 | window.button.pressed.colorTo: <color> |
258 | 269 | window.grip.focus: <texture type> | |
259 | ! How the toolbar's text should be justified. | 270 | window.grip.focus.pixmap: <filename> |
260 | toolbar.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR | 271 | window.grip.focus.color: <color> |
261 | 272 | window.grip.focus.colorTo: <color> | |
262 | ! Font to be used for all toolbar components | 273 | window.grip.unfocus: <texture type> |
263 | toolbar.font: Font \fI(e.g. -*-helvetica-medium-r-normal-*-*-100-*)\fR | 274 | window.grip.unfocus.pixmap: <filename> |
264 | 275 | window.grip.unfocus.color: <color> | |
265 | ! The menu titlebar | 276 | window.grip.unfocus.colorTo: <color> |
266 | menu.title: Texture | 277 | window.label.focus.textColor: <color> |
267 | menu.title.color: Color | 278 | window.label.unfocus.textColor: <color> |
268 | menu.title.colorTo: Color | 279 | window.frame.focusColor: <color> |
269 | menu.title.textColor: Color | 280 | window.frame.unfocusColor: <color> |
270 | menu.title.font: Font | 281 | window.button.focus.picColor: <color> |
271 | menu.title.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR | 282 | window.button.unfocus.picColor: <color> |
272 | 283 | window.font: <font> | |
273 | ! The menu frame | 284 | window.justify: |
274 | menu.frame: Texture | 285 | window.roundCorners: |
275 | menu.frame.color: Color | 286 | window.alpha: <integer> |
276 | menu.frame.colorTo: Color | 287 | window.title.height: <integer> |
277 | menu.frame.textColor: Color | 288 | window.bevelWidth: <integer> |
278 | menu.frame.disableColor: Color | 289 | window.handleWidth: <integer> |
279 | menu.frame.font: Font | 290 | window.borderWidth: <integer> |
280 | menu.frame.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR | 291 | window.borderColor: <color> |
281 | 292 | window.close.pixmap: <filename> | |
282 | ! Bullets for submenu items | 293 | window.close.unfocus.pixmap: <filename> |
283 | menu.bullet: \fIempty\fR, \fItriangle\fR, \fIsquare\fR, or \fIdiamond\fR | 294 | window.close.pressed.pixmap: <filename> |
284 | menu.bullet.position: \fIright\fR or \fIleft\fR | 295 | window.maximize.pixmap: <filename> |
285 | 296 | window.maximize.unfocus.pixmap: <filename> | |
286 | ! The highlighted menu item | 297 | window.maximize.pressed.pixmap: <filename> |
287 | menu.hilite: Texture (e.g. \fIRaised\fR) | 298 | window.iconify.pixmap: <filename> |
288 | menu.hilite.color: Color | 299 | window.iconify.unfocus.pixmap: <filename> |
289 | menu.hilite.colorTo: Color | 300 | window.iconify.pressed.pixmap: <filename> |
290 | menu.hilite.textColor: Color | 301 | window.shade.pixmap: <filename> |
291 | 302 | window.shade.unfocus.pixmap: <filename> | |
292 | ! A focused window | 303 | window.shade.pressed.pixmap: <filename> |
293 | window.title.focus: Texture | 304 | window.stick.pixmap: <filename> |
294 | window.title.focus.color: Color | 305 | window.stick.unfocus.pixmap: <filename> |
295 | window.title.focus.colorTo: Color | 306 | window.stick.pressed.pixmap: <filename> |
296 | 307 | window.stuck.pixmap: <filename> | |
297 | ! An unfocused window | 308 | window.stuck.unfocus.pixmap: <filename> |
298 | window.title.unfocus: Texture | 309 | .EE |
299 | window.title.unfocus.color: Color | 310 | .SS MENU OPTIONS |
300 | window.title.unfocus.colorTo: Color | 311 | Everything you need to make your menu look pretty. |
301 | 312 | .EX | |
302 | ! Window label in window.title | 313 | menu.title.textColor: <color> |
303 | window.label.focus: Texture or \fIParentRelative\fR | 314 | menu.frame.textColor: <color> |
304 | window.label.focus.color: Color | 315 | menu.hilite.textColor: <color> |
305 | window.label.focus.colorTo: Color | 316 | menu.frame.disableColor: <color> |
306 | window.label.focus.textColor: Color | 317 | menu.title: <texture type> |
307 | 318 | menu.title.pixmap: <filename> | |
308 | window.label.unfocus: Texture or \fIParentRelative\fR | 319 | menu.title.color: <color> |
309 | window.label.unfocus.color: Color | 320 | menu.title.colorTo: <color> |
310 | window.label.unfocus.colorTo: Color | 321 | menu.frame: <texture type> |
311 | window.label.unfocus.textColor: Color | 322 | menu.frame.pixmap: <filename> |
312 | 323 | menu.frame.color: <color> | |
313 | ! Handlebar | 324 | menu.frame.colorTo: <color> |
314 | window.handle.focus: Texture | 325 | menu.hilite: <texture type> |
315 | window.handle.focus.color: Color | 326 | menu.hilite.pixmap: <filename> |
316 | window.handle.focus.colorTo: Color | 327 | menu.hilite.color: <color> |
317 | 328 | menu.hilite.colorTo: <color> | |
318 | window.handle.unfocus: Texture | 329 | menu.title.font: <font> |
319 | window.handle.unfocus.color: Color | 330 | menu.frame.font: <font> |
320 | window.handle.unfocus.colorTo: Color | 331 | menu.frame.justify: |
321 | 332 | menu.title.justify: | |
322 | ! Resize grips | 333 | menu.bullet.position: |
323 | window.grip.focus: Texture | 334 | menu.bullet: |
324 | window.grip.focus.color: Color | 335 | menu.borderWidth: |
325 | window.grip.focus.colorTo: Color | 336 | menu.bevelWidth: |
326 | 337 | menu.borderColor: <color> | |
327 | window.grip.unfocus: Texture | 338 | menu.submenu.pixmap: <filename> |
328 | window.grip.unfocus.color: Color | 339 | menu.selected.pixmap: <filename> |
329 | window.grip.unfocus.colorTo: Color | 340 | menu.unselected.pixmap: <filename> |
330 | 341 | menu.roundCorners: | |
331 | ! Window buttons | 342 | .EE |
332 | window.button.focus: Texture or \fIParentRelative\fR | 343 | .SS ROOT COMMAND OPTION |
333 | window.button.focus.color: Color | 344 | This 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 |
334 | window.button.focus.colorTo: Color | 345 | .EX |
335 | window.button.focus.picColor: Color | 346 | rootCommand: <string> |
336 | 347 | .EE | |
337 | window.button.unfocus: Texture or \fIParentRelative\fR | 348 | .SS SLIT |
338 | window.button.unfocus.color: Color | 349 | Here are all of the options for the slit. |
339 | window.button.unfocus.colorTo: Color | 350 | .EX |
340 | window.button.unfocus.picColor: Color | 351 | slit: <texture type> |
341 | 352 | slit.pixmap: <filename> | |
342 | window.button.pressed: Texture (e.g. \fISunken\fR) | 353 | slit.color: <color> |
343 | window.button.pressed.color: Color | 354 | slit.colorTo: <color> |
344 | window.button.pressed.colorTo: Color | 355 | slit.borderWidth: <integer> |
345 | 356 | slit.bevelWidth: <integer> | |
346 | ! Frame around window | 357 | slit.borderColor: <color> |
347 | window.frame.focusColor: Color | 358 | .EE |
348 | window.frame.unfocusColor: Color | 359 | .SS TOOLBAR OPTIONS |
349 | 360 | Below 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. | |
350 | ! Font and justification for window labels | 361 | .EX |
351 | window.font: Font | 362 | toolbar: <texture type> |
352 | window.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR | 363 | toolbar.pixmap: <filename> |
353 | 364 | toolbar.color: <color> | |
354 | ! Slit resources | 365 | toolbar.colorTo: <color> |
355 | slit: | 366 | toolbar.borderWidth: <integer> |
356 | slit.color: Color | 367 | toolbar.borderColor: <color> |
357 | slit.colorTo: Color | 368 | toolbar.bevelWidth: <0-255> |
358 | 369 | toolbar.shaped: <boolean> | |
359 | ! Miscellaneous resources | 370 | toolbar.alpha: <integer> |
360 | 371 | toolbar.height: <integer> | |
361 | ! A border can be drawn round all components | 372 | toolbar.clock.font: <font> |
362 | borderWidth: a number of pixels, e.g. \fI1\fR | 373 | toolbar.clock.textColor: <color> |
363 | borderColor: Color | 374 | toolbar.clock.justify: |
364 | 375 | toolbar.clock: <texture type> | |
365 | bevelWidth: a number of pixels > 0 | 376 | toolbar.clock.pixmap: <filename> |
366 | handleWidth: a number of pixels > 0 | 377 | toolbar.clock.color: <color> |
367 | 378 | toolbar.clock.colorTo: <color> | |
368 | ! Width of the window frame | 379 | toolbar.clock.borderWidth: <integer> |
369 | ! When not specified, frameWidth defaults to the value of bevelWidth | 380 | toolbar.clock.borderColor: <color> |
370 | frameWidth: a number of pixels >= 0 | 381 | toolbar.workspace.font: <font> |
371 | 382 | toolbar.workspace.textColor: <color> | |
372 | ! This command is executed whenever this style is selected. | 383 | toolbar.workspace.justify: |
373 | ! Typically it sets the root window to a nice picture. | 384 | toolbar.workspace: <texture type> |
374 | rootCommand: Shell command, e.g. \fIbsetroot -mod 4 4 -fg rgb: 5/6/6 -bg grey20\fR | 385 | toolbar.workspace.pixmap: <filename> |
375 | 386 | toolbar.workspace.color: <color> | |
376 | ! Some of the bbtools read these old 0.51 resources | 387 | toolbar.workspace.colorTo: <color> |
377 | menuFont: Font | 388 | toolbar.workspace.borderWidth: <integer> |
378 | titleFont: Font | 389 | toolbar.workspace.borderColor: <color> |
379 | .fi | 390 | toolbar.iconbar.focused: <texture type> |
391 | toolbar.iconbar.focused.pixmap: <filename> | ||
392 | toolbar.iconbar.focused.color: <color> | ||
393 | toolbar.iconbar.focused.colorTo: <color> | ||
394 | toolbar.iconbar.unfocused: <texture type> | ||
395 | toolbar.iconbar.unfocused.pixmap: <filename> | ||
396 | toolbar.iconbar.unfocused.color: <color> | ||
397 | toolbar.iconbar.unfocused.colorTo: <color> | ||
398 | toolbar.iconbar.empty: <texture type> | ||
399 | toolbar.iconbar.empty.pixmap: <filename> | ||
400 | toolbar.iconbar.empty.color: <color> | ||
401 | toolbar.iconbar.empty.colorTo: <color> | ||
402 | toolbar.iconbar.focused.borderWidth: <integer> | ||
403 | toolbar.iconbar.focused.borderColor: <color> | ||
404 | toolbar.iconbar.unfocused.borderWidth: <integer> | ||
405 | toolbar.iconbar.unfocused.borderColor: <color> | ||
406 | toolbar.iconbar.borderWidth: <integer> | ||
407 | toolbar.iconbar.borderColor: <color> | ||
408 | toolbar.iconbar.focused.font: <font> | ||
409 | toolbar.iconbar.focused.textColor: <color> | ||
410 | toolbar.iconbar.focused.justify: | ||
411 | toolbar.iconbar.unfocused.font: <font> | ||
412 | toolbar.iconbar.unfocused.textColor: <color> | ||
413 | toolbar.iconbar.unfocused.justify: | ||
414 | .EE | ||
380 | .SH EXAMPLES | 415 | .SH EXAMPLES |
381 | This may seem like a long list, but remember, when you create your own style, you | 416 | This may seem like a long list, but remember, when you create your own style, you |
382 | can easily set lots of keys with a single command, e.g. | 417 | can easily set lots of keys with a single command, e.g. |
@@ -433,7 +468,7 @@ You can also find more styles here: | |||
433 | .B http://themes.freshmeat.net/ | 468 | .B http://themes.freshmeat.net/ |
434 | .PP | 469 | .PP |
435 | This manpage was composed from various resources including the documentation, fluxbox | 470 | This manpage was composed from various resources including the documentation, fluxbox |
436 | man page and numerous other resources by Curtis Micol | 471 | man page and numerous other resources by Curt Micol |
437 | .nh | 472 | .nh |
438 | <asenchi@asenchi.com> | 473 | <asenchi@asenchi.com> |
439 | .hy | 474 | .hy |
@@ -445,3 +480,10 @@ Numerous other languages could be available if someone jumps in. | |||
445 | .SH SEE ALSO | 480 | .SH SEE ALSO |
446 | .IR fluxbox (1) | 481 | .IR fluxbox (1) |
447 | .IR bsetroot (1) | 482 | .IR bsetroot (1) |
483 | |||
484 | .\" ADDITIONS TO MAKE | ||
485 | .\" Create a font section | ||
486 | .\" Change layout of theme items | ||
487 | .\" Obtain new theme items, grubert just placed in new man page | ||
488 | .\" Become a little more verbose on color usage. | ||
489 | .\" | ||