mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Implement 'bar { }' block parsing
This commit is contained in:
parent
93ac7d43a8
commit
74152043f4
3 changed files with 79 additions and 5 deletions
|
|
@ -77,6 +77,7 @@ struct bar_config {
|
|||
char *status_command;
|
||||
char *font;
|
||||
int bar_height;
|
||||
int tray_padding;
|
||||
bool workspace_buttons;
|
||||
bool strip_workspace_numbers;
|
||||
bool binding_mode_indicator;
|
||||
|
|
@ -102,12 +103,14 @@ struct bar_config {
|
|||
struct sway_config {
|
||||
list_t *symbols;
|
||||
list_t *modes;
|
||||
list_t *bars;
|
||||
list_t *cmd_queue;
|
||||
list_t *workspace_outputs;
|
||||
list_t *output_configs;
|
||||
list_t *criteria;
|
||||
struct sway_mode *current_mode;
|
||||
struct bar_config bar;
|
||||
struct bar_config *current_bar;
|
||||
uint32_t floating_mod;
|
||||
uint32_t dragging_key;
|
||||
uint32_t resizing_key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue