feat(ui): add 'winbar'

Adds support for a bar at the top of each window, enabled through the
`'winbar'` option.

Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
This commit is contained in:
Famiu Haque
2022-05-13 20:47:11 +06:00
parent b9b5577d6d
commit e1bdb2a258
26 changed files with 538 additions and 169 deletions

View File

@@ -2831,6 +2831,16 @@ return {
varname='p_wak',
defaults={if_true="menu"}
},
{
full_name='winbar', abbreviation='wbr',
short_desc=N_("custom format for the window bar"),
type='string', scope={'global', 'window'},
alloced=true,
modelineexpr=true,
redraw={'statuslines'},
varname='p_wbr',
defaults={if_true=""}
},
{
full_name='winblend', abbreviation='winbl',
short_desc=N_("Controls transparency level for floating windows"),