- |: empty space (can be used instead of a title)
- W: window menu
- I: iconify
- - M: maximize
+ - M: maximize toggle
- C: close
- - S: shade
- - D: omnipresent
+ - S: shade toggle
+ - D: all-desktops toggle
Example: WLIMC
- Iconify: A button that, by default, iconifies a window.
- Maximize: A button that, by default, toggles maximization of a window.
- Shade: A button that, by default, toggles window shading.
- - Omnipresent: A button that, by default, toggles omnipresence of a window.
+ - AllDesktops: A button that, by default, toggles omnipresence of a window.
- Close: A button that, by default, closses a window.
- Top: The top edge of the window's border.
- Bottom: The bottom edge of the window's border.
Color of the images in titlebar buttons in their default, unpressed,
state. This element is for non-focused windows.
-Note: The button elements (i.e. window.[in]active.button.\*) support defining
-different types of buttons individually by inserting the type ("menu",
-"iconify", "max" and "close") after the button node. For example:
-window.active.button.iconify.unpressed.image.color
-This syntax is not documented on the openbox.org wiki, but is supported by
-openbox and is used by many popular themes. For the sake of brevity, these
-elements are not listed here, but are supported.
+Note: Button elements (i.e. window.[in]active.button.\*) may be defined uniquely
+for each type of button ("menu", "iconify", "max", "shade", "desk" or "close")
+by appending the type after the "button" node. For example:
+
+- window.active.button.iconify.unpressed.image.color indicates the color of the
+iconify button for active windows; while
+
+- window.inactive.button.close.unpressed.image.color indicates the color of the
+close button for inactive windows.
+
+This syntax is not documented by Openbox, but is supported and is used by many
+popular themes. For the sake of brevity, these elements are not listed here, but
+all are supported.
*window.active.shadow.size*
Size of the drop-shadow for the focused window, in pixels.
</mousebind>
</context>
- <context name="Omnipresent">
+ <context name="AllDesktops">
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent" />
</mousebind>
.event = "Click",
.action = "ToggleShade",
}, {
- .context = "Omnipresent",
+ .context = "AllDesktops",
.button = "Left",
.event = "Click",
.action = "ToggleOmnipresent",
return LAB_SSD_BUTTON_WINDOW_MENU;
} else if (!strcasecmp(str, "Shade")) {
return LAB_SSD_BUTTON_SHADE;
- } else if (!strcasecmp(str, "Omnipresent")) {
+ } else if (!strcasecmp(str, "AllDesktops")) {
return LAB_SSD_BUTTON_OMNIPRESENT;
} else if (!strcasecmp(str, "Titlebar")) {
return LAB_SSD_PART_TITLEBAR;
parse_hexstr(value,
theme->window_active_button_shade_unpressed_image_color);
}
- if (match_glob(key, "window.active.button.omnipresent.unpressed.image.color")) {
+ if (match_glob(key, "window.active.button.desk.unpressed.image.color")) {
parse_hexstr(value,
theme->window_active_button_omnipresent_unpressed_image_color);
}
parse_hexstr(value,
theme->window_inactive_button_shade_unpressed_image_color);
}
- if (match_glob(key, "window.inactive.button.omnipresent.unpressed.image.color")) {
+ if (match_glob(key, "window.inactive.button.desk.unpressed.image.color")) {
parse_hexstr(value,
theme->window_inactive_button_omnipresent_unpressed_image_color);
}