aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-14 08:11:51 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-14 08:11:51 -0500
commit3ef6173c15e5c3df2208df81f5e15e8fb8ca6d2c (patch)
treef1b0ebb5decb035f70e4a96f9b1efb246049a4e1 /include
parentff8fa917088d5dbf26571ae6326fd01fc050dd22 (diff)
parent0a8ec2638338c856adeb3c411d9d01b50eb9ce1e (diff)
Merge pull request #311 from mikkeloscar/bar-config-parser
Implement bar { } config parsing
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 4019f479..4e62ee68 100644
--- a/include/config.h
+++ b/include/config.h
@@ -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;