seat: add framework to select toplevels
This commit is contained in:
parent
e4e090d3a2
commit
17a0dfed5e
31 changed files with 603 additions and 131 deletions
|
|
@ -55,6 +55,7 @@ impl Parser for ThemeParser<'_> {
|
|||
separator_color,
|
||||
unfocused_title_bg_color,
|
||||
unfocused_title_text_color,
|
||||
highlight_color,
|
||||
border_width,
|
||||
title_height,
|
||||
font,
|
||||
|
|
@ -77,6 +78,7 @@ impl Parser for ThemeParser<'_> {
|
|||
opt(val("separator-color")),
|
||||
opt(val("unfocused-title-bg-color")),
|
||||
opt(val("unfocused-title-text-color")),
|
||||
opt(val("highlight-color")),
|
||||
recover(opt(s32("border-width"))),
|
||||
recover(opt(s32("title-height"))),
|
||||
recover(opt(str("font"))),
|
||||
|
|
@ -111,6 +113,7 @@ impl Parser for ThemeParser<'_> {
|
|||
separator_color: color!(separator_color),
|
||||
unfocused_title_bg_color: color!(unfocused_title_bg_color),
|
||||
unfocused_title_text_color: color!(unfocused_title_text_color),
|
||||
highlight_color: color!(highlight_color),
|
||||
border_width: border_width.despan(),
|
||||
title_height: title_height.despan(),
|
||||
font: font.map(|f| f.value.to_string()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue