Window bevel depth is now configurable

This commit is contained in:
Jack Zeal 2026-03-25 20:03:01 -07:00
parent 939b339a8e
commit effc16fc05
4 changed files with 10 additions and 2 deletions

View file

@ -533,6 +533,7 @@ theme_builtin(struct theme *theme)
{
theme->border_width = 1;
theme->beveled_border = FALSE;
theme->border_bevel_width=0;
theme->window_titlebar_padding_height = 0;
theme->window_titlebar_padding_width = 0;
@ -699,6 +700,10 @@ entry(struct theme *theme, const char *key, const char *value)
if (match_glob(key, "border.beveled")) {
set_bool(value, &theme->beveled_border);
}
if (match_glob(key, "border.bevel_width")) {
theme->border_bevel_width = get_int_if_positive(
value, "border.bevel_width");
}
if (match_glob(key, "window.titlebar.padding.width")) {
theme->window_titlebar_padding_width = get_int_if_positive(
value, "window.titlebar.padding.width");