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 | swaybar: add StatusNotifierItem to tray (diff) | |
download | sway-6b03c68775c9c638def342c82b1fa3beffa52645.tar.gz sway-6b03c68775c9c638def342c82b1fa3beffa52645.tar.zst sway-6b03c68775c9c638def342c82b1fa3beffa52645.zip |
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 @@ | |||
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <wayland-client.h> | 5 | #include <wayland-client.h> |
6 | #include "../include/config.h" | ||
6 | #include "list.h" | 7 | #include "list.h" |
7 | #include "util.h" | 8 | #include "util.h" |
8 | 9 | ||
@@ -64,6 +65,13 @@ struct swaybar_config { | |||
64 | struct box_colors urgent_workspace; | 65 | struct box_colors urgent_workspace; |
65 | struct box_colors binding_mode; | 66 | struct box_colors binding_mode; |
66 | } colors; | 67 | } colors; |
68 | |||
69 | #if HAVE_TRAY | ||
70 | char *icon_theme; | ||
71 | char *tray_bindings[10]; // mouse buttons 0-9 | ||
72 | list_t *tray_outputs; // char * | ||
73 | int tray_padding; | ||
74 | #endif | ||
67 | }; | 75 | }; |
68 | 76 | ||
69 | struct swaybar_config *init_config(void); | 77 | struct swaybar_config *init_config(void); |