diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-09 15:10:41 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-31 20:40:18 +0000 |
commit | 6b03c68775c9c638def342c82b1fa3beffa52645 (patch) | |
tree | a3b18d948f8e2a51151f24aab47c552f28a17f70 /include/swaybar | |
parent | 74655f835aa9fe0e976473d443f62d253602696c (diff) |
swaybar: implement tray config
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/swaybar/config.h b/include/swaybar/config.h index fd7c6ec4..def70d5b 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h @@ -3,6 +3,7 @@ #include <stdbool.h> #include <stdint.h> #include <wayland-client.h> +#include "../include/config.h" #include "list.h" #include "util.h" @@ -64,6 +65,13 @@ struct swaybar_config { struct box_colors urgent_workspace; struct box_colors binding_mode; } colors; + +#if HAVE_TRAY + char *icon_theme; + char *tray_bindings[10]; // mouse buttons 0-9 + list_t *tray_outputs; // char * + int tray_padding; +#endif }; struct swaybar_config *init_config(void); |