Implemented auto-hide functionality on Wayland

This commit is contained in:
Aivars Vaivods 2024-11-17 22:18:51 +02:00
parent 3e0083c9f2
commit 3dce815fe3
8 changed files with 54 additions and 9 deletions

View file

@ -325,6 +325,8 @@ conf_to_bar(const struct yml_node *bar, enum bar_backend backend)
conf.layer = BAR_LAYER_BOTTOM;
else if (strcmp(tmp, "background") == 0)
conf.layer = BAR_LAYER_BACKGROUND;
else if (strcmp(tmp, "hidden") == 0)
conf.layer = BAR_LAYER_HIDDEN;
else
assert(false);
}