swaynag: adds option to set wayland shell layer

Uses --layer/-y set to overlay|top|bottom|background
This commit is contained in:
James Edwards-Jones 2021-03-17 15:55:21 +00:00 committed by Simon Ser
parent 75a4122f7a
commit d13090be54
6 changed files with 37 additions and 2 deletions

View file

@ -7,6 +7,7 @@ struct swaynag_type {
char *font;
char *output;
uint32_t anchors;
int32_t layer; // enum zwlr_layer_shell_v1_layer or -1 if unset
// Colors
uint32_t button_text;