add border size and color config
refs: https://github.com/wez/wezterm/issues/2417
This commit is contained in:
1 parent
8b3a52ba9a
commit
78b5ac0eb5
5 files changed
+193
-55
No files matched your search
@@ -14,6 +14,7 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
#### New
|
||||
|
||||
* Color schemes: [carbonfox](colorschemes/c/index.md#carbonfox), [DanQing Light (base16)](colorschemes/d/index.md#danqing-light-base16), [SynthwaveAlpha](colorschemes/s/index.md#synthwavealpha), [SynthwaveAlpha (Gogh)](colorschemes/s/index.md#synthwavealpha-gogh)
|
||||
* [window_frame](config/lua/config/window_frame.md) now supports setting border size and color [#2417](https://github.com/wez/wezterm/issues/2417)
|
||||
|
||||
#### Changed
|
||||
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user