add border size and color config

refs: https://github.com/wez/wezterm/issues/2417
This commit is contained in:
Wez Furlong committed 2022-08-20 17:05:17 -07:00
1 parent 8b3a52ba9a
commit 78b5ac0eb5
5 files changed
+193 -55

No files matched your search

+23 -1
View File
@@ -2,10 +2,13 @@
*Since: 20210814-124438-54e29167*
This setting is applicable only on Wayland systems when client side decorations are in use.
This setting is applicable primarily on Wayland systems when client side
decorations are in use.
It allows you to customize the colors of the window frame.
Some of these colors are used by the fancy tab bar.
```lua
return {
window_frame = {
@@ -22,3 +25,22 @@ return {
},
}
```
*Since: nightly builds only*
You may explicitly add a border around the window area:
```lua
return {
window_frame = {
border_left_width = '0.5cell',
border_right_width = '0.5cell',
border_bottom_height = '0.25cell',
border_top_height = '0.25cell',
border_left_color = 'purple',
border_right_color = 'purple',
border_bottom_color = 'purple',
border_top_color = 'purple',
},
}
```