mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
config: layer: add 'overlay' and 'background'
The layer option (Wayland only) now accepts 'overlay' and 'background'. Closes #372
This commit is contained in:
parent
28a18ad91e
commit
d841aeeecd
6 changed files with 34 additions and 7 deletions
|
@ -453,7 +453,9 @@ verify_bar_location(keychain_t *chain, const struct yml_node *node)
|
|||
static bool
|
||||
verify_bar_layer(keychain_t *chain, const struct yml_node *node)
|
||||
{
|
||||
return conf_verify_enum(chain, node, (const char *[]){"top", "bottom"}, 2);
|
||||
return conf_verify_enum(
|
||||
chain, node,
|
||||
(const char *[]){"overlay", "top", "bottom", "background"}, 4);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue