From 88a2162823d9e121fceee20dc7e19b0d121caf20 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 17 Jul 2021 09:37:13 -0700 Subject: [PATCH] docs for wayland window_frame config options closes #761 --- docs/changelog.md | 1 + docs/config/lua/config/window_frame.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 docs/config/lua/config/window_frame.md diff --git a/docs/changelog.md b/docs/changelog.md index 49f224278..755883e59 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -56,6 +56,7 @@ As features stabilize some brief notes about them will accumulate here. * Fixed: paste now respects `scroll_to_bottom_on_input`. [#931](https://github.com/wez/wezterm/issues/931) * New: [bypass_mouse_reporting_modifiers](config/lua/config/bypass_mouse_reporting_modifiers.md) to specify which modifier(s) override application mouse reporting mode. * Fixed: focus tracking events are now also generated when switching between panes [#941](https://github.com/wez/wezterm/issues/941) +* New: [window_frame](config/lua/config/window_frame.md) option to configure Wayland window decorations [#761](https://github.com/wez/wezterm/issues/761) ### 20210502-154244-3f7122cb diff --git a/docs/config/lua/config/window_frame.md b/docs/config/lua/config/window_frame.md new file mode 100644 index 000000000..cf79c7a3d --- /dev/null +++ b/docs/config/lua/config/window_frame.md @@ -0,0 +1,24 @@ +# window_frame + +*Since: nightly builds only* + +This setting is applicable only on Wayland systems when client side decorations are in use. + +It allows you to customize the colors of the window frame. + +```lua +return { + window_frame = { + inactive_titlebar_bg = "#353535", + active_titlebar_bg = "#2b2042", + inactive_titlebar_fg = "#cccccc", + active_titlebar_fg = "#ffffff", + inactive_titlebar_border_bottom = "#2b2042", + active_titlebar_border_bottom = "#2b2042", + button_fg = "#cccccc", + button_bg = "#2b2042", + button_hover_fg = "#ffffff", + button_hover_bg = "#3b3052", + } +} +```