Notes for Stylists

bb4win_mod supports the Blackbox X11-Window manager: 0.70 syntax (as amplified here) & the 0.65 syntax (with support for earlier items).

The following table is provided to assist both existing & new stylists in navigating this support. (Items are deliberately "syntax neutral"):

Style ItemParent Default Value
* (wildCard)n/a DefStyleA (see below)
MenuFrame (incl. Font)n/a wildCard
MenuTitle (incl. Font)MenuFrame DefStyleB (see below)
MenuHiliteMenuFrame MenuTitle
Toolbar (incl. Font)MenuFrame MenuFrame
ToolbarButtonToolbar Toolbar
ToolbarButtonPressedToolbar ToolbarButton
ToolbarLabelToolbar Toolbar
ToolbarWindowLabelToolbar MenuHilite
ToolbarClockToolbar ToolbarLabel
WindowTitleFocusToolbar Toolbar
WindowLabelFocus (incl. Font)WindowTitleFocus ToolbarWindowLabel
WindowHandleFocusWindowTitleFocus Toolbar
WindowGripFocusWindowTitleFocus ToolbarWindowLabel
WindowButtonFocusWindowTitleFocus ToolbarButton
WindowButtonPressedWindowTitleFocus ToolbarButtonPressed
WindowTitleUnfocusToolbar Toolbar
WindowLabelUnfocusWindowTitleUnfocus ToolbarWindowLabel
WindowHandleUnfocusWindowTitleUnfocus Toolbar
WindowGripUnfocusWindowTitleUnfocus ToolbarWindowLabel
WindowButtonUnfocusWindowTitleUnfocus ToolbarButton

Other ElementParent Default Value
borderWidthn/a 1
borderColorn/a #777777
handleHeightn/a 5
frameWidthn/a borderWidth
bevelWidthn/a 2
MenuTitleMarginWidthn/a 1
ToolbarMarginWidthn/a bevelWidth
WindowTitleFocusMarginWidthn/a bevelWidth
MenuFrameDisabledColorn/a MenuHiliteTextColor
WindowFrameFocusColorn/a WindowLabelFocusColor
WindowFrameUnfocusColorn/a WindowLabelUnfocusColorTo
rootCommandn/a bsetroot -mod 4 4 -fg grey55 -bg grey60

"Non-Classic" ItemParent Default Value
MenuBulletn/a triangle
MenuBulletPositionn/a right
MenuFrameBulletColorn/a MenuFrameTextColor
MenuHiliteBulletColorn/a MenuHiliteTextColor
MenuHiliteDisabledColorn/a MenuTitleTextColor
MenuSeparatorMenuFrame MenuFrame
MenuVolume (plugin support only)MenuFrame MenuHilite
MenuIndicatorMenuFrame MenuVolume
MenuOverlapn/a 0

Default ItemsDefStyleA DefStyleB
bevelStyleraised raised
bevelPositionbevel1 bevel1
gradientTypediagonal vertical
parentRelativefalse false
interlacedfalse false
Color#eeeeee #cccccc
ColorTo#cccccc #aaaaaa
TextColor#555555 #333333
FontHeight12 12
FontWeightnormal normal
Justifyleft center
Fontverdana verdana

 
 Note: mixing syntaxes may result in your Style not being rendered correctly
0.70 Syntax0.65 (& earlier) Syntax Openbox Syntax
appearance   
color1color  
backgroundColor (solid gradients only)color  
color2colorTo  
color0splitColor color.SplitTo
color3splitColorTo colorTo.SplitTo
textColortextColor  
foregroundColorpicColor  
alignmentjustify  
marginWidthmargin  
menu.activemenu.hilite  
disabledColordisableColor  
window.handleHeighthandleWidth  
window.frame.borderWidthframeWidth  
window.frame.borderWidthwindow.frameWidth  
frame.focus.borderColorframe.focusColor  
frame.focus.borderColorframe.focus.color  
frame.unfocus.borderColorframe.unfocusColor  
frame.unfocus.borderColorframe.unfocus.color  
 bevelWidth  

 

Other Styling Matters

The following additional styling options are supported by bb4win_mod & may not be supported elsewhere:

  • wildCard support for textures
  • eliminating menuTitles by setting menu.title.fontHeight below 2

The following Openbox derived gradients are supported both by bb4win_mod & other active branches of bb4win:

  • splitVertical
  • mirrorHorizontal

Certain "new" gradients are supported both by bb4win_mod & some other branches of bb4win_mod:

  • splitHorizontal
  • mirrorVertical
  • blockHorizontal
  • blockVertical

bb4win_mod additionally supports the following gradients:

  • waveHorizontal
  • waveVertical