# Attribute names used, explanations, possible values, examples

Here is the explanation of Attributes names of themes

## Attributes:

pixels

- An integer, amount of pixels.

  example: "2"

size

- Pixels vertically times pixels horizontally.

  example: "2x2"

percent

- Any percent value from 1 to 100.

  example: "87"

toggle

- sets a value as true (1) or false (0).

  example: "true"

padding

- Free pixels from top, free pixels under, free pixels from left, free pixels from right.

  example: "2 2 2 2"

decorname

- Name for decoration, any name can be used and applied to windows with autoproperties or the set decor action. The list below includes names with special meaning:

  - DEFAULT

    Defines decorations to all windows unless overridden with another decoration set (REQUIRED).

  - ATTENTION

    Defines the decoration for windows that set the urgency/demand-attention hint.

  - BORDERLESS

    Defines decorations for borderless windows (recommended).

  - INPUTDIALOG

    Defines decorations for input dialogs, such as the CmdDialog.

  - MENU

    Defines decorations for menus.

  - STATUSWINDOW

    Defines decorations for the command dialog.

  - TITLEBARLESS

    Defines decorations for titlebarless windows (recommended, should be there if your theme looks nasty when toggled titlebarless).

  - WORKSPACEINDICATOR

    Defines decorations for the workspace indicator.

colour

- A colour value in RGB format.

  example: "#FFFFFF"

imagename

- Name of the imagefile with an option after the #

  - #fixed

    Image is fixed size.

  - #scaled

    Image will be scaled to fit the area it's defined for.

  - #tiled

    Image will be repeated as many times as needed to fill the area it's defined for. This is the default if no option is specified.

texture

- Any valid texture. Valid textures are:

  - EMPTY

    No texture (transparent).

  - SOLID colour size

    A solid colour texture of defined colour and size.

  - SOLIDRAISED colour colour colour pixels pixels toggle toggle toggle toggle size

    A solid colour texture with a 3D look of defined colours, form and size. First colour defines the main fill colour, second the highlight colour used on the left and top parts of the texture, third the highlight colour on the bottom and right parts of the texture. First pixel amount defines how fart apart the 3D effects are from each other, second pixel amount is how thick the bordering will be (both pixels default to 1). The four toggles are used to tell which raised corners are to be drawn. This is useful for example when defining solidraised frame corner pieces. The order is Top, Bottom, Left, Right (not unlike that used in padding). As example: "True False True False" (or 1 0 1 0) could mean you want to draw the TopLeft piece of a solidraised window border. Size should explain itself, see above.

  - IMAGE imagename

    An image texture using the defined imagename

fontstring

- Defines a font. Chopped to parts by # marks. First the font type (XFT or X11), then the font name, then the text orientation, then shadow offsets. Some fields can be omitted.

  example: "XFT#Verdana:size=10#Left#1 1" example: "-misc-fixed-*-*-*-*-14-*-*-*-*-*-*-1#Center#1 1"

buttonactions

- Buttonactions work alike what you are used from the mouse config, first mouse button number pressed when this action should happen, then any standard pekwm actions.

  example: "1" { Actions = "Close" }