diff --git a/doc/fluxboxstyle.1 b/doc/fluxstyle.1 similarity index 52% rename from doc/fluxboxstyle.1 rename to doc/fluxstyle.1 index 11a4548b..c2ba84ab 100644 --- a/doc/fluxboxstyle.1 +++ b/doc/fluxstyle.1 @@ -1,14 +1,14 @@ -.\" +.\" AT THE BOTTOM IS ADD ONS TO THE PAGE search /ADDITIONS .\" Manual page for Fluxbox Styles .\" .\" Fluxbox is Copyright (c) 2001-2004 Henrik Kinnunen -.\" Fluxstyle(1) is Copyright (c) 2004 Curtis Micol +.\" Fluxstyle(1) is Copyright (c) 2004 Curt Micol .\" .\" This manual page is freely distrubted and modified. .\" Parts of the text are taken from websites and style .\" files on http://www.fluxbox.org and http://www.fluxmod.dk .\" -.\" Created and Updated for version 0.9.7 by Curtis Micol +.\" Created and Updated for version 0.9.7 by Curt Micol .\" .\" Define this:
 .de EX
@@ -26,7 +26,7 @@
 ..
 .\" Begin actual page
 .\"
-.TH fluxstyle 1 "January 7th, 2004" "0.9.7"
+.TH fluxstyle 1 "January 7th, 2004" "0.9.8"
 .SH NAME
 fluxstyle \- all you need to know about Fluxbox styles
 .SH DESCRIPTION
@@ -91,12 +91,17 @@ providing a default configureation at installation.
 .PP
 Once you create your own, you can create a directory in
 .IR ~/.fluxbox/
-called 'styles'.  Place your styles here and you will be able to access them from the configure
-portion of the Root Menu called 'User Styles'.  This goes true for any directories associated
-with your style.  An example being, if you create a style with pixmaps, create
-.IR ~/.fluxbox/pixmaps
-and place your pixmaps here.  Of course, this means that the path to your pixmaps in your style
-file will be the same.
+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:
+.EX
+mkdir -p ~/.fluxbox/styles/MyStyle
+cd ~/.fluxbox/styles/MyStyle
+mkdir pixmaps
+vi theme.cfg (this being where you design your style with
+              the necessary components)
+.EE
+If you follow this, the path to your pixmaps will be:
+.IR ~/fluxbox/styles/MyStyle/pixmaps
+which makes it a bit easier to setup up and distribute your style.
 
 .SH CREATING STYLES
 As discussed in the
@@ -207,176 +212,206 @@ mode, the
 .I colorTo
 resource is used to find the interlacing color.
 .PP
-Here is the complete component list, also all components together with
-which kind of value they can contain.
+.SH A WORD ABOUT FONTS
+We should comment about fonts before we move on to the complete component
+list.  
+.PP
+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:
+.EX
+menu.title.font: sans-8:bold,shadow
+.EE
+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.
+.SH FULL COMPONENT LIST
+Here is the complete component list, together with which kind of value they take.
 Comments are preceded with an exclamation sign (!), which is also used for
 comments in Fluxbox style c.q. X resource files.
 .PP
-.ta \w'window.button.unfocus.picColor:\ 'u
-.nf
-.\"
 .\" The comments also to be translated!
-.\"
-! The toolbar itself
-toolbar:        Texture
-toolbar.color:  Color
-toolbar.colorTo:        Color
-
-! The buttons on the toolbar
-toolbar.button: Texture or \fIParentRelative\fR
-toolbar.button.color:   Color
-toolbar.button.colorTo: Color
-
-! Color of the button arrows
-toolbar.button.picColor:        Color
-
-! Buttons in pressed state
-toolbar.button.pressed: Texture \fI(e.g. Sunken)\fR or \fIParentRelative\fR
-toolbar.button.pressed.color:   Color
-toolbar.button.pressed.colorTo: Color
-
-! Color of pressed button arrows
-toolbar.button.pressed.picColor:        Color
-
-! The toolbar workspace label
-toolbar.label:  Texture or \fIParentRelative\fR
-toolbar.label.color:    Color
-toolbar.label.colorTo:  Color
-toolbar.label.textColor:        Color
-
-! The toolbar window label
-toolbar.windowLabel:    Texture or \fIParentRelative\fR
-toolbar.windowLabel.color:      Color
-toolbar.windowLabel.colorTo:    Color
-toolbar.windowLabel.textColor:  Color
-
-! The toolbar clock
-toolbar.clock:  Texture or \fIParentRelative\fR
-toolbar.clock.color:    Color
-toolbar.clock.colorTo:  Color
-toolbar.clock.textColor:        Color
-
-! How the toolbar's text should be justified.
-toolbar.justify:        \fIcenter\fR, \fIleft\fR, or \fIright\fR
-
-! Font to be used for all toolbar components
-toolbar.font:   Font \fI(e.g. -*-helvetica-medium-r-normal-*-*-100-*)\fR
-
-! The menu titlebar
-menu.title:     Texture
-menu.title.color:       Color
-menu.title.colorTo:     Color
-menu.title.textColor:   Color
-menu.title.font:        Font
-menu.title.justify:     \fIcenter\fR, \fIleft\fR, or \fIright\fR
-
-! The menu frame
-menu.frame:     Texture
-menu.frame.color:       Color
-menu.frame.colorTo:     Color
-menu.frame.textColor:   Color
-menu.frame.disableColor:        Color
-menu.frame.font:        Font
-menu.frame.justify:     \fIcenter\fR, \fIleft\fR, or \fIright\fR
-
-! Bullets for submenu items
-menu.bullet:    \fIempty\fR, \fItriangle\fR, \fIsquare\fR, or \fIdiamond\fR
-menu.bullet.position:   \fIright\fR or \fIleft\fR
-
-! The highlighted menu item
-menu.hilite:    Texture (e.g. \fIRaised\fR)
-menu.hilite.color:      Color
-menu.hilite.colorTo:    Color
-menu.hilite.textColor:  Color
-
-! A focused window
-window.title.focus:     Texture
-window.title.focus.color:       Color
-window.title.focus.colorTo:     Color
-
-! An unfocused window
-window.title.unfocus:   Texture
-window.title.unfocus.color:     Color
-window.title.unfocus.colorTo:   Color
-
-! Window label in window.title
-window.label.focus:     Texture or \fIParentRelative\fR
-window.label.focus.color:       Color
-window.label.focus.colorTo:     Color
-window.label.focus.textColor:   Color
-
-window.label.unfocus:   Texture or \fIParentRelative\fR
-window.label.unfocus.color:     Color
-window.label.unfocus.colorTo:   Color
-window.label.unfocus.textColor: Color
-
-! Handlebar
-window.handle.focus:    Texture
-window.handle.focus.color:      Color
-window.handle.focus.colorTo:    Color
-
-window.handle.unfocus:  Texture
-window.handle.unfocus.color:    Color
-window.handle.unfocus.colorTo:  Color
-
-! Resize grips
-window.grip.focus:      Texture
-window.grip.focus.color:        Color
-window.grip.focus.colorTo:      Color
-
-window.grip.unfocus:    Texture
-window.grip.unfocus.color:      Color
-window.grip.unfocus.colorTo:    Color
-
-! Window buttons
-window.button.focus:    Texture or \fIParentRelative\fR
-window.button.focus.color:      Color
-window.button.focus.colorTo:    Color
-window.button.focus.picColor:   Color
-
-window.button.unfocus:  Texture or \fIParentRelative\fR
-window.button.unfocus.color:    Color
-window.button.unfocus.colorTo:  Color
-window.button.unfocus.picColor: Color
-
-window.button.pressed:  Texture (e.g. \fISunken\fR)
-window.button.pressed.color:    Color
-window.button.pressed.colorTo:  Color
-
-! Frame around window
-window.frame.focusColor:        Color
-window.frame.unfocusColor:      Color
-
-! Font and justification for window labels
-window.font:    Font
-window.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR
-
-! Slit resources
-slit:
-slit.color:                     Color
-slit.colorTo:                   Color
-
-! Miscellaneous resources
-
-! A border can be drawn round all components
-borderWidth:    a number of pixels, e.g. \fI1\fR
-borderColor:    Color
-
-bevelWidth:     a number of pixels > 0
-handleWidth:    a number of pixels > 0
-
-! Width of the window frame
-! When not specified, frameWidth defaults to the value of bevelWidth
-frameWidth:     a number of pixels >= 0
-
-! This command is executed whenever this style is selected.
-! Typically it sets the root window to a nice picture.
-rootCommand:    Shell command, e.g. \fIbsetroot -mod 4 4 -fg rgb:       5/6/6 -bg grey20\fR
-
-! Some of the bbtools read these old 0.51 resources
-menuFont:       Font
-titleFont:      Font
-.fi
+.SS WINDOW OPTIONS
+Many, many things you can do with window design in Fluxbox, below are your options.  Have fun.
+.EX
+window.label.focus: 
+window.label.focus.pixmap:  
+window.label.focus.color:  
+window.label.focus.colorTo: 
+window.label.unfocus: 
+window.label.unfocus.pixmap:  
+window.label.unfocus.color:  
+window.label.unfocus.colorTo: 
+window.title.focus: 
+window.title.focus.pixmap:  
+window.title.focus.color:  
+window.title.focus.colorTo: 
+window.title.unfocus: 
+window.title.unfocus.pixmap:  
+window.title.unfocus.color:  
+window.title.unfocus.colorTo: 
+window.handle.focus: 
+window.handle.focus.pixmap:  
+window.handle.focus.color:  
+window.handle.focus.colorTo: 
+window.handle.unfocus: 
+window.handle.unfocus.pixmap:  
+window.handle.unfocus.color:  
+window.handle.unfocus.colorTo: 
+window.button.focus: 
+window.button.focus.pixmap:  
+window.button.focus.color:  
+window.button.focus.colorTo: 
+window.button.unfocus: 
+window.button.unfocus.pixmap:  
+window.button.unfocus.color:  
+window.button.unfocus.colorTo: 
+window.button.pressed: 
+window.button.pressed.pixmap:  
+window.button.pressed.color:  
+window.button.pressed.colorTo: 
+window.grip.focus: 
+window.grip.focus.pixmap:  
+window.grip.focus.color:  
+window.grip.focus.colorTo: 
+window.grip.unfocus: 
+window.grip.unfocus.pixmap:  
+window.grip.unfocus.color:  
+window.grip.unfocus.colorTo: 
+window.label.focus.textColor: 
+window.label.unfocus.textColor: 
+window.frame.focusColor: 
+window.frame.unfocusColor: 
+window.button.focus.picColor: 
+window.button.unfocus.picColor: 
+window.font: 
+window.justify:
+window.roundCorners:
+window.alpha: 
+window.title.height: 
+window.bevelWidth: 
+window.handleWidth: 
+window.borderWidth: 
+window.borderColor: 
+window.close.pixmap: 
+window.close.unfocus.pixmap: 
+window.close.pressed.pixmap: 
+window.maximize.pixmap: 
+window.maximize.unfocus.pixmap: 
+window.maximize.pressed.pixmap: 
+window.iconify.pixmap: 
+window.iconify.unfocus.pixmap: 
+window.iconify.pressed.pixmap: 
+window.shade.pixmap: 
+window.shade.unfocus.pixmap: 
+window.shade.pressed.pixmap: 
+window.stick.pixmap: 
+window.stick.unfocus.pixmap: 
+window.stick.pressed.pixmap: 
+window.stuck.pixmap: 
+window.stuck.unfocus.pixmap: 
+.EE
+.SS MENU OPTIONS
+Everything you need to make your menu look pretty.
+.EX
+menu.title.textColor: 
+menu.frame.textColor: 
+menu.hilite.textColor: 
+menu.frame.disableColor: 
+menu.title: 
+menu.title.pixmap:  
+menu.title.color:  
+menu.title.colorTo: 
+menu.frame: 
+menu.frame.pixmap:  
+menu.frame.color:  
+menu.frame.colorTo: 
+menu.hilite: 
+menu.hilite.pixmap:  
+menu.hilite.color:  
+menu.hilite.colorTo: 
+menu.title.font: 
+menu.frame.font: 
+menu.frame.justify:
+menu.title.justify:
+menu.bullet.position:
+menu.bullet:
+menu.borderWidth:
+menu.bevelWidth:
+menu.borderColor: 
+menu.submenu.pixmap: 
+menu.selected.pixmap: 
+menu.unselected.pixmap: 
+menu.roundCorners:
+.EE
+.SS ROOT COMMAND OPTION
+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
+.EX
+rootCommand: 
+.EE
+.SS SLIT
+Here are all of the options for the slit.
+.EX
+slit: 
+slit.pixmap:  
+slit.color:  
+slit.colorTo: 
+slit.borderWidth: 
+slit.bevelWidth: 
+slit.borderColor: 
+.EE
+.SS TOOLBAR OPTIONS
+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.
+.EX
+toolbar: 
+toolbar.pixmap:  
+toolbar.color:  
+toolbar.colorTo: 
+toolbar.borderWidth: 
+toolbar.borderColor: 
+toolbar.bevelWidth: <0-255>
+toolbar.shaped: 
+toolbar.alpha: 
+toolbar.height: 
+toolbar.clock.font: 
+toolbar.clock.textColor: 
+toolbar.clock.justify:
+toolbar.clock: 
+toolbar.clock.pixmap:  
+toolbar.clock.color:  
+toolbar.clock.colorTo: 
+toolbar.clock.borderWidth: 
+toolbar.clock.borderColor: 
+toolbar.workspace.font: 
+toolbar.workspace.textColor: 
+toolbar.workspace.justify:
+toolbar.workspace: 
+toolbar.workspace.pixmap:  
+toolbar.workspace.color:  
+toolbar.workspace.colorTo: 
+toolbar.workspace.borderWidth: 
+toolbar.workspace.borderColor: 
+toolbar.iconbar.focused: 
+toolbar.iconbar.focused.pixmap:  
+toolbar.iconbar.focused.color:  
+toolbar.iconbar.focused.colorTo: 
+toolbar.iconbar.unfocused: 
+toolbar.iconbar.unfocused.pixmap:  
+toolbar.iconbar.unfocused.color:  
+toolbar.iconbar.unfocused.colorTo: 
+toolbar.iconbar.empty: 
+toolbar.iconbar.empty.pixmap:  
+toolbar.iconbar.empty.color:  
+toolbar.iconbar.empty.colorTo: 
+toolbar.iconbar.focused.borderWidth: 
+toolbar.iconbar.focused.borderColor: 
+toolbar.iconbar.unfocused.borderWidth: 
+toolbar.iconbar.unfocused.borderColor: 
+toolbar.iconbar.borderWidth: 
+toolbar.iconbar.borderColor: 
+toolbar.iconbar.focused.font: 
+toolbar.iconbar.focused.textColor: 
+toolbar.iconbar.focused.justify:
+toolbar.iconbar.unfocused.font: 
+toolbar.iconbar.unfocused.textColor: 
+toolbar.iconbar.unfocused.justify:
+.EE
 .SH EXAMPLES
 This may seem like a long list, but remember, when you create your own style, you
 can easily set lots of keys with a single command, e.g.
@@ -433,7 +468,7 @@ You can also find more styles here:
 .B http://themes.freshmeat.net/
 .PP
 This manpage was composed from various resources including the documentation, fluxbox
-man page and numerous other resources by Curtis Micol
+man page and numerous other resources by Curt Micol
 .nh
 
 .hy 
@@ -445,3 +480,10 @@ Numerous other languages could be available if someone jumps in.
 .SH SEE ALSO
 .IR fluxbox (1) 
 .IR bsetroot (1)
+
+.\" ADDITIONS TO MAKE
+.\" Create a font section
+.\" Change layout of theme items
+.\" Obtain new theme items, grubert just placed in new man page
+.\" Become a little more verbose on color usage.
+.\"