2021-03-05 22:14:02 +00:00
|
|
|
labwc-theme(5)
|
|
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
2022-05-31 21:53:45 +01:00
|
|
|
labwc - theme files
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
# THEME
|
|
|
|
|
|
|
|
|
|
The theme engine aims to be compatible with openbox and themes will be
|
|
|
|
|
searched for in the following order:
|
|
|
|
|
|
2025-01-02 20:40:41 +00:00
|
|
|
- ${XDG_DATA_HOME:-$HOME/.local/share}/themes/<theme-name>/labwc/
|
|
|
|
|
- $HOME/.themes/<theme-name>/labwc/
|
|
|
|
|
- /usr/share/themes/<theme-name>/labwc/
|
|
|
|
|
- /usr/local/share/themes/<theme-name>/labwc/
|
|
|
|
|
- /opt/share/themes/<theme-name>/labwc/
|
2021-03-05 22:14:02 +00:00
|
|
|
- ${XDG_DATA_HOME:-$HOME/.local/share}/themes/<theme-name>/openbox-3/
|
|
|
|
|
- $HOME/.themes/<theme-name>/openbox-3/
|
|
|
|
|
- /usr/share/themes/<theme-name>/openbox-3/
|
|
|
|
|
- /usr/local/share/themes/<theme-name>/openbox-3/
|
|
|
|
|
- /opt/share/themes/<theme-name>/openbox-3/
|
|
|
|
|
|
config: support merging multiple config files
Add the -m|--merge-config command line option to iterate backwards over
XDG Base Dir paths and read config/theme files multiple times.
For example if both ~/.config/labwc/rc.xml and /etc/xdg/labwc/rc.xml
exist, the latter will be read first and then the former (if
--merge-config is enabled).
When $XDG_CONFIG_HOME is defined, make it replace (not augment)
$HOME/.config. Similarly, make $XDG_CONFIG_DIRS replace /etc/xdg when
defined.
XDG Base Dir Spec does not specify whether or not an application (or a
compositor!) should (a) define that only the file under the most important
base directory should be used, or (b) define rules for merging the
information from the different files.
ref: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
In the case of labwc there is a use-case for both positions, just to be
clear, the default behaviour, described by position (a) above, does NOT
change.
This change affects the following config/theme files:
- rc.xml
- menu.xml
- autostart
- environment
- themerc
- themerc-override
- Theme buttons, for example max.xbm
Instead of caching global config/theme directories, create lists of paths
(e.g. '/home/foo/.config/labwc/rc.xml', '/etc/xdg/labwc/rc.xml', etc).
This creates more common parsing logic and just reversing the direction
of iteration and breaks early if config-merge is not wanted.
Enable better fallback for themes. For example if a particular theme does
not exist in $HOME/.local/share/themes, it will be searched for in
~/.themes/ and so on. This also applies to theme buttons which now
fallback on an individual basis.
Avoid using stat() in most situations and just go straight to fopen().
Fixes #1406
2024-01-09 22:00:45 +00:00
|
|
|
When $XDG_DATA_HOME is defined, it replaces (rather than augments)
|
|
|
|
|
$HOME/.local/share. The same is the case for $XDG_DATA_DIRS and /usr/share/.
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
Choosing a theme is done by editing the <name> key in the <theme> section of
|
|
|
|
|
the rc.xml configuration file (labwc-config(5)).
|
|
|
|
|
|
2023-08-04 22:34:07 +01:00
|
|
|
A theme consists of a themerc file and optionally some titlebar icons (referred
|
|
|
|
|
to as buttons).
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2022-12-05 21:46:16 +00:00
|
|
|
Theme settings specified in themerc can be overridden by creating a
|
|
|
|
|
'themerc-override' file in the configuration directory, which is normally
|
|
|
|
|
$HOME/.config/labwc/ but can be a few other locations as described in
|
|
|
|
|
labwc-config(5).
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
# DATA TYPES
|
|
|
|
|
|
2023-08-04 22:37:39 +01:00
|
|
|
*color*
|
|
|
|
|
Colors can be specified by either of the following:
|
|
|
|
|
- #rrggbb (hexadecimal RGB values)
|
2024-04-07 17:25:40 +02:00
|
|
|
- #rrggbb aaa (same but with decimal alpha value percentage)
|
|
|
|
|
- #rrggbbaa (same but with inline alpha value in hex encoding)
|
|
|
|
|
|
|
|
|
|
Note: the #rrggbb aaa notation is deprecated starting from
|
|
|
|
|
labwc 0.7.2 and may be removed in future releases.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2021-10-17 20:52:29 +01:00
|
|
|
*justification*
|
2023-12-11 23:12:07 +02:00
|
|
|
Justification determines the horizontal alignment of text.
|
|
|
|
|
Valid options are Left, Center and Right.
|
2021-10-17 20:52:29 +01:00
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
# THEME ELEMENTS
|
|
|
|
|
|
2021-03-27 21:09:45 +00:00
|
|
|
*border.width*
|
2024-09-09 17:43:38 +02:00
|
|
|
Line width (integer) of border drawn around window frames.
|
2021-03-27 21:09:45 +00:00
|
|
|
Default is 1.
|
|
|
|
|
|
2024-10-08 17:52:57 +01:00
|
|
|
*window.titlebar.padding.width*
|
|
|
|
|
Horizontal titlebar padding size, in pixels, between border and first
|
2024-09-09 17:43:38 +02:00
|
|
|
button on the left/right.
|
|
|
|
|
Default is 0.
|
|
|
|
|
|
2024-10-08 17:52:57 +01:00
|
|
|
*window.titlebar.padding.height*
|
|
|
|
|
Vertical titlebar padding size, in pixels.
|
2024-09-29 18:32:51 +01:00
|
|
|
Default is 0.
|
2021-10-20 19:53:05 +01:00
|
|
|
|
2021-04-10 18:40:43 +01:00
|
|
|
*window.active.border.color*
|
2024-11-24 14:39:35 +09:00
|
|
|
Border color of active window. Default is #aaaaaa.
|
2021-04-10 18:40:43 +01:00
|
|
|
|
2021-10-20 19:53:05 +01:00
|
|
|
*window.inactive.border.color*
|
2024-11-24 14:39:35 +09:00
|
|
|
Border color of inactive window. Default is #aaaaaa.
|
2021-10-20 19:53:05 +01:00
|
|
|
|
2023-03-05 10:35:56 +01:00
|
|
|
*window.active.indicator.toggled-keybind.color*
|
|
|
|
|
Status indicator for the ToggleKeybinds action. Can be set to the same
|
2023-12-11 23:12:07 +02:00
|
|
|
value as set for window.active.border.color to disable the status
|
2024-11-23 12:15:35 +09:00
|
|
|
indicator. Default is #ff0000.
|
2023-03-05 10:35:56 +01:00
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
*window.active.title.bg.color*
|
2024-01-13 19:51:20 +02:00
|
|
|
Background color for the focused window's titlebar.
|
2024-11-23 12:15:35 +09:00
|
|
|
Default is #e1dedb.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*window.inactive.title.bg.color*
|
2024-01-13 19:51:20 +02:00
|
|
|
Background color for non-focused windows' titlebars.
|
2024-11-23 12:15:35 +09:00
|
|
|
Default is #f6f5f4.
|
2021-10-15 21:35:41 +01:00
|
|
|
|
|
|
|
|
*window.active.label.text.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Text color for the focused window's titlebar. Default is #000000.
|
2021-10-15 21:35:41 +01:00
|
|
|
|
|
|
|
|
*window.inactive.label.text.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Text color non-focused windows' titlebars. Default is #000000.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2021-10-17 20:52:29 +01:00
|
|
|
*window.label.text.justify*
|
|
|
|
|
Specifies how window titles are aligned in the titlebar for both
|
2025-01-24 12:02:19 +02:00
|
|
|
focused and unfocused windows. Type justification. Default is Center.
|
2021-10-17 20:52:29 +01:00
|
|
|
|
2024-07-20 11:33:57 +03:00
|
|
|
*window.button.width*
|
|
|
|
|
Width of a titlebar button, in pixels.
|
|
|
|
|
Default is 26.
|
2024-09-09 17:43:38 +02:00
|
|
|
|
2024-11-03 19:59:57 +09:00
|
|
|
*window.button.height*
|
|
|
|
|
Height of a titlebar button, in pixels.
|
|
|
|
|
Default is 26.
|
|
|
|
|
|
2024-09-09 17:43:38 +02:00
|
|
|
*window.button.spacing*
|
|
|
|
|
Space between titlebar buttons, in pixels.
|
|
|
|
|
Default is 0.
|
2024-09-09 17:44:03 +02:00
|
|
|
|
2024-10-12 15:06:23 +09:00
|
|
|
*window.button.hover.bg.corner-radius*
|
|
|
|
|
Radius of the hover effect of a titlebar button, in pixels.
|
|
|
|
|
Default is 0.
|
|
|
|
|
|
|
|
|
|
Note: for a circular hover effect, set *window.button.width* and
|
2025-02-08 16:26:47 +02:00
|
|
|
*window.button.height* equal and *window.button.hover.bg.corner-radius*
|
|
|
|
|
half of them.
|
2024-07-20 11:33:57 +03:00
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
*window.active.button.unpressed.image.color*
|
|
|
|
|
Color of the images in titlebar buttons in their default, unpressed,
|
2024-11-23 12:15:35 +09:00
|
|
|
state. This element is for the focused window. Default is #000000.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*window.inactive.button.unpressed.image.color*
|
|
|
|
|
Color of the images in titlebar buttons in their default, unpressed,
|
2024-11-23 12:15:35 +09:00
|
|
|
state. This element is for non-focused windows. Default is #000000.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2024-08-25 00:00:24 -04:00
|
|
|
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.
|
2021-08-22 19:11:54 +01:00
|
|
|
|
2024-04-22 19:27:53 +01:00
|
|
|
*window.active.shadow.size*
|
2024-04-23 21:39:38 +03:00
|
|
|
Size of the drop-shadow for the focused window, in pixels.
|
|
|
|
|
Default is 60.
|
2024-04-22 19:27:53 +01:00
|
|
|
|
|
|
|
|
*window.inactive.shadow.size*
|
2024-04-23 21:39:38 +03:00
|
|
|
Size of drop-shadows for non-focused windows, in pixels.
|
|
|
|
|
Default is 40.
|
2024-04-22 19:27:53 +01:00
|
|
|
|
|
|
|
|
*window.active.shadow.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Color of the drop-shadow for the focused window, including opacity.
|
|
|
|
|
Default is #00000060 (black with 38% opacity).
|
2024-04-22 19:27:53 +01:00
|
|
|
|
|
|
|
|
*window.inactive.shadow.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Color of drop-shadows for non-focused windows, including opacity.
|
|
|
|
|
Default is #00000040 (black with 25% opacity).
|
2024-04-22 19:27:53 +01:00
|
|
|
|
2024-11-12 09:17:04 +09:00
|
|
|
*menu.overlap.x*
|
|
|
|
|
Horizontal overlap in pixels between submenus and their parents. A
|
|
|
|
|
positive value move submenus over the top of their parents, whereas a
|
|
|
|
|
negative value creates a gap between submenus and their parents.
|
|
|
|
|
Default is 0.
|
|
|
|
|
|
|
|
|
|
*menu.overlap.y*
|
|
|
|
|
Vertical offset in pixels between submenus and their parents. Positive
|
|
|
|
|
values for downwards and negative for upwards. Default is 0.
|
|
|
|
|
|
|
|
|
|
*menu.width.min*
|
|
|
|
|
Minimal width for menus. Default is 20.
|
|
|
|
|
A fixed width can be achieved by setting .min and .max to the same
|
|
|
|
|
value.
|
|
|
|
|
|
|
|
|
|
*menu.width.max*
|
|
|
|
|
Maximal width for menus. Default is 200.
|
|
|
|
|
A fixed width can be achieved by setting .min and .max to the same
|
|
|
|
|
value.
|
|
|
|
|
|
2024-11-24 14:40:40 +09:00
|
|
|
*menu.border.width*
|
|
|
|
|
Border width of menus in pixels. Inherits *border.width* if not set.
|
|
|
|
|
|
|
|
|
|
*menu.border.color*
|
|
|
|
|
Border color of menus. Inherits *window.active.border.color* if not set.
|
|
|
|
|
|
2024-11-12 09:17:04 +09:00
|
|
|
*menu.items.padding.x*
|
|
|
|
|
Horizontal padding of menu text entries in pixels.
|
|
|
|
|
Default is 7.
|
|
|
|
|
|
|
|
|
|
*menu.items.padding.y*
|
|
|
|
|
Vertical padding of menu text entries in pixels.
|
|
|
|
|
Default is 4.
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
*menu.items.bg.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Background color of inactive menu items. Default is #fcfbfa.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*menu.items.text.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Text color of inactive menu item. Default is #000000.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*menu.items.active.bg.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Background color of active menu items. Default is #e1dedb.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*menu.items.active.text.color*
|
2024-11-23 12:15:35 +09:00
|
|
|
Text color of active menu item. Default is #000000.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2022-06-22 21:07:25 +01:00
|
|
|
*menu.separator.width*
|
2024-11-23 12:14:40 +09:00
|
|
|
Line thickness of menu separators. Default is 1.
|
2022-06-22 21:07:25 +01:00
|
|
|
|
|
|
|
|
*menu.separator.padding.width*
|
2024-11-23 12:14:40 +09:00
|
|
|
Space on the left and right side of each separator line. Default is 6.
|
2022-06-22 21:07:25 +01:00
|
|
|
|
|
|
|
|
*menu.separator.padding.height*
|
2024-11-23 12:14:40 +09:00
|
|
|
Space above and below each separator line. Default is 3.
|
2022-06-22 21:07:25 +01:00
|
|
|
|
|
|
|
|
*menu.separator.color*
|
2024-11-23 12:14:40 +09:00
|
|
|
Menu separator color. Default is #888888.
|
2022-06-22 21:07:25 +01:00
|
|
|
|
2024-05-09 21:20:15 +01:00
|
|
|
*menu.title.bg.color*
|
2024-11-23 12:14:40 +09:00
|
|
|
Menu title color. Default is #589bda.
|
2024-05-09 21:20:15 +01:00
|
|
|
Note: A menu title is a separator with a label.
|
|
|
|
|
|
2024-11-12 09:17:04 +09:00
|
|
|
*menu.title.text.justify*
|
|
|
|
|
Specifies how menu titles are aligned in the titlebar.
|
2024-11-23 12:14:40 +09:00
|
|
|
Type justification. Default is Center.
|
2024-11-12 09:17:04 +09:00
|
|
|
|
2024-08-21 12:27:07 -05:00
|
|
|
*menu.title.text.color*
|
2024-11-23 12:14:40 +09:00
|
|
|
Text color of separator label. Default is #ffffff.
|
2024-08-21 12:27:07 -05:00
|
|
|
|
2021-10-13 21:29:32 +01:00
|
|
|
*osd.bg.color*
|
2024-04-14 21:32:34 +09:00
|
|
|
Background color of on-screen-display. Inherits
|
|
|
|
|
*window.active.title.bg.color* if not set.
|
2021-10-13 21:29:32 +01:00
|
|
|
|
2022-05-31 19:14:58 +02:00
|
|
|
*osd.border.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Border color of on-screen-display. Inherits *osd.label.text.color* if
|
|
|
|
|
not set.
|
2022-05-31 19:14:58 +02:00
|
|
|
|
|
|
|
|
*osd.border.width*
|
2023-06-29 21:29:43 +01:00
|
|
|
Border width of on-screen-display. Inherits *border.width* if not set.
|
2022-05-31 19:14:58 +02:00
|
|
|
|
2021-10-13 21:29:32 +01:00
|
|
|
*osd.label.text.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Text color of on-screen-display. Inherits
|
|
|
|
|
*window.active.label.text.color* if not set.
|
2021-10-13 21:29:32 +01:00
|
|
|
|
2023-04-24 21:31:28 +01:00
|
|
|
*osd.window-switcher.width*
|
|
|
|
|
Width of window switcher in pixels. Default is 600.
|
2024-03-26 05:12:19 -05:00
|
|
|
Width can also be percent of the width of the monitor.
|
|
|
|
|
% is mandatory as last character in this case, max 100%
|
2023-04-24 21:31:28 +01:00
|
|
|
|
2023-06-29 21:29:43 +01:00
|
|
|
*osd.window-switcher.padding*
|
|
|
|
|
Padding of window switcher in pixels. This is the space between the
|
2023-07-01 14:56:13 +02:00
|
|
|
window-switcher border and its items. Default is 4.
|
2023-06-29 21:29:43 +01:00
|
|
|
|
2023-04-24 21:31:28 +01:00
|
|
|
*osd.window-switcher.item.padding.x*
|
|
|
|
|
Horizontal padding of window switcher entries in pixels.
|
|
|
|
|
Default is 10.
|
|
|
|
|
|
|
|
|
|
*osd.window-switcher.item.padding.y*
|
|
|
|
|
Vertical padding of window switcher entries in pixels.
|
2023-07-01 14:56:13 +02:00
|
|
|
Default is 1.
|
|
|
|
|
|
|
|
|
|
*osd.window-switcher.item.active.border.width*
|
|
|
|
|
Border width of the selection box in the window switcher in pixels.
|
|
|
|
|
Default is 2.
|
2023-04-24 21:31:28 +01:00
|
|
|
|
2024-04-15 20:22:44 +09:00
|
|
|
*osd.window-switcher.preview.border.width*
|
2024-04-23 21:39:38 +03:00
|
|
|
Border width of the outlines shown as the preview of the window selected
|
|
|
|
|
by window switcher. Inherits *osd.border.width* if not set.
|
2024-04-15 20:22:44 +09:00
|
|
|
|
|
|
|
|
*osd.window-switcher.preview.border.color*
|
|
|
|
|
Color(s) of the outlines shown as the preview of the window selected by
|
|
|
|
|
window switcher. Possible value is a color or up to 3 colors separated
|
|
|
|
|
by commas (e.g. "#ffffff,#000000,#ffffff"). When multiple colors are
|
2024-04-23 21:39:38 +03:00
|
|
|
specified, a multi-line rectangle with each line having the specified
|
|
|
|
|
color is drawn. If not set, this inherits the on-screen-display theme
|
2024-04-15 20:22:44 +09:00
|
|
|
("[*osd.bg.color*],[*osd.label.text.color*],[*osd.bg.color*]").
|
|
|
|
|
|
2023-12-11 12:41:33 +03:00
|
|
|
*osd.workspace-switcher.boxes.width*
|
2023-12-11 23:12:07 +02:00
|
|
|
Width of boxes in workspace switcher in pixels. Setting to 0 disables
|
|
|
|
|
boxes. Default is 20.
|
2023-12-11 12:41:33 +03:00
|
|
|
|
|
|
|
|
*osd.workspace-switcher.boxes.height*
|
2023-12-11 23:12:07 +02:00
|
|
|
Height of boxes in workspace switcher in pixels. Setting to 0 disables
|
|
|
|
|
boxes. Default is 20.
|
2023-12-11 12:41:33 +03:00
|
|
|
|
2024-04-21 02:30:31 +09:00
|
|
|
*snapping.overlay.region.bg.enabled* [yes|no]
|
2024-04-23 21:39:38 +03:00
|
|
|
Show a filled rectangle as an overlay when a window is snapped to a
|
|
|
|
|
region. Default is yes for hardware-based renderers and no for
|
|
|
|
|
software-based renderers.
|
2024-04-14 02:24:36 +09:00
|
|
|
|
2024-04-21 02:30:31 +09:00
|
|
|
*snapping.overlay.edge.bg.enabled* [yes|no]
|
2024-04-23 21:39:38 +03:00
|
|
|
Show a filled rectangle as an overlay when a window is snapped to an
|
|
|
|
|
edge. Default is yes for hardware-based renderer and no for
|
|
|
|
|
software-based renderers.
|
2024-04-21 02:30:31 +09:00
|
|
|
|
|
|
|
|
*snapping.overlay.region.border.enabled* [yes|no]
|
|
|
|
|
Show an outlined rectangle as an overlay when a window is snapped to a
|
2024-04-23 21:39:38 +03:00
|
|
|
region. Default is no for hardware-based renderers and yes for
|
|
|
|
|
software-based renderers.
|
2024-04-21 02:30:31 +09:00
|
|
|
|
|
|
|
|
*snapping.overlay.edge.border.enabled* [yes|no]
|
2024-04-23 21:39:38 +03:00
|
|
|
Show an outlined rectangle as an overlay when a window is snapped to an
|
|
|
|
|
edge. Default is no for hardware-based renderer and yes for
|
|
|
|
|
software-based renderers.
|
2024-04-14 02:24:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.region.bg.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Color of a filled rectangle shown as an overlay when a window is snapped
|
|
|
|
|
to a region. Default is #8080b380.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.edge.bg.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Color of a filled rectangle shown as an overlay when a window is snapped
|
|
|
|
|
to an edge. Default is #8080b380.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.region.border.width*
|
2024-04-23 21:39:38 +03:00
|
|
|
Border width of an outlined rectangle shown as an overlay when a window
|
|
|
|
|
is snapped to a region. Inherits `osd.border.width` if not set.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.edge.border.width*
|
2024-05-21 20:37:38 +09:00
|
|
|
Border width of an outlined rectangle shown as an overlay when a window
|
2024-04-23 21:39:38 +03:00
|
|
|
is snapped to an edge. Inherits `osd.border.width` if not set.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.region.border.color*
|
|
|
|
|
Color(s) of an outlined rectangle shown as an overlay when a window is
|
2024-04-23 21:39:38 +03:00
|
|
|
snapped to a region. Possible values and the default value are the same
|
|
|
|
|
as those of *osd.window-switcher.preview.border.color*.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2024-04-21 02:22:28 +09:00
|
|
|
*snapping.overlay.edge.border.color*
|
|
|
|
|
Color(s) of an outlined rectangle shown as an overlay when a window is
|
2024-04-23 21:39:38 +03:00
|
|
|
snapped to an edge. Possible values and the default value are the same
|
|
|
|
|
as those of *osd.window-switcher.preview.border.color*.
|
2024-04-14 02:26:36 +09:00
|
|
|
|
2021-09-24 21:26:31 +01:00
|
|
|
*border.color*
|
2024-04-23 21:39:38 +03:00
|
|
|
Set both *window.active.border.color* and
|
|
|
|
|
*window.inactive.border.color*. This is obsolete, but supported for
|
|
|
|
|
backward compatibility as some themes still contain it.
|
2021-09-24 21:26:31 +01:00
|
|
|
|
2024-05-15 23:07:23 +01:00
|
|
|
*magnifier.border.width*
|
|
|
|
|
Width of magnifier window border in pixels. Default is 1.
|
|
|
|
|
|
|
|
|
|
*magnifier.border.color*
|
|
|
|
|
Color of the magnfier window border. Default is #ff0000 (red).
|
|
|
|
|
|
2021-08-22 19:11:54 +01:00
|
|
|
# BUTTONS
|
|
|
|
|
|
2023-08-04 22:34:07 +01:00
|
|
|
The images used for the titlebar icons are referred to as buttons.
|
|
|
|
|
|
|
|
|
|
The image formats listed below are supported. They are listed in order of
|
|
|
|
|
precedence, where the first format in the list is searched for first.
|
|
|
|
|
|
|
|
|
|
- png
|
2023-08-21 21:26:08 +01:00
|
|
|
- svg
|
2023-08-04 22:34:07 +01:00
|
|
|
- xbm
|
|
|
|
|
|
|
|
|
|
By default, buttons are 1-bit xbm (X Bitmaps). These are masks where 0=clear and
|
|
|
|
|
1=colored. The xbm image files are placed in the same directory as the themerc
|
|
|
|
|
file within a particular theme. The following xbm buttons are supported:
|
2021-08-22 19:11:54 +01:00
|
|
|
|
|
|
|
|
- max.xbm
|
|
|
|
|
- iconify.xbm
|
|
|
|
|
- close.xbm
|
2022-08-19 22:50:12 +01:00
|
|
|
- menu.xbm
|
2023-12-06 20:33:26 +00:00
|
|
|
- max_toggled.xbm
|
2024-08-25 14:47:00 +10:00
|
|
|
- desk.xbm
|
|
|
|
|
- desk_toggled.xbm
|
|
|
|
|
- shade.xbm
|
|
|
|
|
- shade_toggled.xbm
|
2023-12-06 20:33:26 +00:00
|
|
|
|
|
|
|
|
Additional icons can be defined to be shown when the mouse pointer is hovering
|
|
|
|
|
over the button in question:
|
|
|
|
|
|
|
|
|
|
- max_hover.xbm
|
|
|
|
|
- iconify_hover.xbm
|
|
|
|
|
- close_hover.xbm
|
|
|
|
|
- menu_hover.xbm
|
2023-12-09 19:37:35 +00:00
|
|
|
- max_toggled_hover.xbm
|
2024-08-25 14:47:00 +10:00
|
|
|
- desk_hover.xbm
|
|
|
|
|
- desk_toggle_hover.xbm
|
|
|
|
|
- shade_hover.xbm
|
|
|
|
|
- shade_toggle_hover.xbm
|
2021-08-22 19:11:54 +01:00
|
|
|
|
2023-08-04 22:34:07 +01:00
|
|
|
One advantage of xbm buttons over other formats is that they change color based
|
|
|
|
|
on the theme. Other formats use the suffices "-active" and "-inactive" to align
|
|
|
|
|
with the respective titlebar colors. For example: "close-active.png"
|
2022-08-19 22:50:12 +01:00
|
|
|
|
2023-12-09 19:49:23 +00:00
|
|
|
For compatibility reasons, the following alternative names are supported
|
|
|
|
|
for xbm files:
|
2023-12-09 19:37:35 +00:00
|
|
|
|
|
|
|
|
- max_hover_toggled.xbm for max_toggled_hover.xbm
|
|
|
|
|
|
2023-12-16 15:42:34 +10:00
|
|
|
When using png or svg icons, for a full theme experience all of the
|
|
|
|
|
following icons should be added:
|
|
|
|
|
|
|
|
|
|
- close-active.[png|svg]
|
|
|
|
|
- close_hover-active.[png|svg]
|
|
|
|
|
- close_hover-inactive.[png|svg]
|
|
|
|
|
- close-inactive.[png|svg]
|
|
|
|
|
- iconify-active.[png|svg]
|
|
|
|
|
- iconify_hover-active.[png|svg]
|
|
|
|
|
- iconify_hover-inactive.[png|svg]
|
|
|
|
|
- iconify-inactive.[png|svg]
|
|
|
|
|
- max-active.[png|svg]
|
|
|
|
|
- max_hover-active.[png|svg]
|
|
|
|
|
- max_hover-inactive.[png|svg]
|
|
|
|
|
- max-inactive.[png|svg]
|
|
|
|
|
- max_toggled-active.[png|svg]
|
|
|
|
|
- max_toggled_hover-active.[png|svg]
|
|
|
|
|
- max_toggled_hover-inactive.[png|svg]
|
|
|
|
|
- max_toggled-inactive.[png|svg]
|
|
|
|
|
- menu-active.[png|svg]
|
|
|
|
|
- menu_hover-active.[png|svg]
|
|
|
|
|
- menu_hover-inactive.[png|svg]
|
|
|
|
|
- menu-inactive.[png|svg]
|
2024-08-25 14:47:00 +10:00
|
|
|
- shade-active.[png|svg]
|
|
|
|
|
- shade_hover-active.[png|svg]
|
|
|
|
|
- shade_hover-inactive.[png|svg]
|
|
|
|
|
- shade-inactive.[png|svg]
|
|
|
|
|
- shade_toggled-active.[png|svg]
|
|
|
|
|
- shade_toggled-inactive.[png|svg]
|
|
|
|
|
- shade_toggled_hover-active.[png|svg]
|
|
|
|
|
- shade_toggled_hover-inactive.[png|svg]
|
|
|
|
|
- desk-active.[png|svg]
|
|
|
|
|
- desk_hover-active.[png|svg]
|
|
|
|
|
- desk_hover-inactive.[png|svg]
|
|
|
|
|
- desk-inactive.[png|svg]
|
|
|
|
|
- desk_toggled-active.[png|svg]
|
|
|
|
|
- desk_toggled-inactive.[png|svg]
|
|
|
|
|
- desk_toggled_hover-active.[png|svg]
|
|
|
|
|
- desk_toggled_hover-inactive.[png|svg]
|
2023-12-16 15:42:34 +10:00
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
# DEFINITIONS
|
|
|
|
|
|
|
|
|
|
The handle is the window edge decoration at the bottom of the window.
|
|
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
|
|
labwc(1), labwc-config(5), labwc-actions(5)
|