PreviousNext
Help > 51. Theme
51. Theme

<theme>

  <name>Clearlooks</name>

  <titleLayout>NLIMC</titleLayout>

  <keepBorder>yes</keepBorder>

  <animateIconify>yes</animateIconify>

  <font place="ActiveWindow">

    <name>sans</name>

    <size>8</size>

    <weight>bold</weight>

    <slant>normal</slant>

  </font>

  <font place="InactiveWindow">

    <name>sans</name>

    <size>8</size>

    <weight>bold</weight>

    <slant>normal</slant>

  </font>

  <font place="MenuHeader">

    <name>sans</name>

    <size>9</size>

    <weight>normal</weight>

    <slant>normal</slant>

  </font>

  <font place="MenuItem">

    <name>sans</name>

    <size>9</size>

    <weight>normal</weight>

    <slant>normal</slant>

  </font>

  <font place="OnScreenDisplay">

    <name>sans</name>

    <size>9</size>

    <weight>bold</weight>

    <slant>normal</slant>

  </font>

</theme>

name The name of the Openbox theme to use.

titleLayout tells in which order and what buttons should be in a window's titlebar. The following letters can be used, each only once.

(thumbnail)

titleLayout example using <titleLayout>MSLDNI</titleLayout>

(thumbnail)

another titleLayout example using <titleLayout>CLIM</titleLayout>

:window icon

:window label (aka. title)

I: iconify

M: maximize

C: close

S: shade (roll up/down)

D: omnipresent (on all desktops).

keepBorder tells if windows should keep the border drawn by Openbox when window decorations are turned off.
animateIconify adds a little iconification animation if enabled
. font Specifies the font to use for a specific element of the window. Place can be either of

ActiveWindow: Title bar of the active window

InactiveWindow: Title bar of the inactive window

MenuHeader: Titles in the menu

MenuItem: Items in the menu

OnScreenDisplay: Text in popups such as window cycling or desktop switching popups

Childnodes for each place are name, specifying the font to use (defaults to sans, an alias for all sans serif fonts), size in px, weight, either normal or bold and slant, either italic or normal.

Themes themselves are described on the theme specification page.