add window gaps
This commit is contained in:
parent
769d12a525
commit
750bf06ce9
9 changed files with 144 additions and 13 deletions
|
|
@ -63,7 +63,7 @@ impl Parser for ThemeParser<'_> {
|
|||
font,
|
||||
title_font,
|
||||
),
|
||||
(bar_font, bar_position_val, bar_separator_width),
|
||||
(bar_font, bar_position_val, bar_separator_width, gap),
|
||||
) = ext.extract((
|
||||
(
|
||||
opt(val("attention-requested-bg-color")),
|
||||
|
|
@ -93,6 +93,7 @@ impl Parser for ThemeParser<'_> {
|
|||
recover(opt(str("bar-font"))),
|
||||
recover(opt(str("bar-position"))),
|
||||
recover(opt(s32("bar-separator-width"))),
|
||||
recover(opt(s32("gap"))),
|
||||
),
|
||||
))?;
|
||||
macro_rules! color {
|
||||
|
|
@ -146,6 +147,7 @@ impl Parser for ThemeParser<'_> {
|
|||
bar_font: bar_font.map(|f| f.value.to_string()),
|
||||
bar_position,
|
||||
bar_separator_width: bar_separator_width.despan(),
|
||||
gap: gap.despan(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue