diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-24 21:56:35 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-28 13:54:58 +0100 |
commit | 751bb4a376a67916593d5386d781410e03bec921 (patch) | |
tree | 63a2e5ec7da83a00bab04c28cb1c0209f8f7cb5a /swaybar | |
parent | bcd2a8fe124ce6adb7d23ba0fa39287744947e29 (diff) |
swaybar: move i3bar definitions into separate file
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/bar.c | 7 | ||||
-rw-r--r-- | swaybar/i3bar.c | 2 | ||||
-rw-r--r-- | swaybar/render.c | 1 | ||||
-rw-r--r-- | swaybar/status_line.c | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index 809416dd..15e81976 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -16,12 +16,13 @@ #else #include <linux/input-event-codes.h> #endif -#include "swaybar/render.h" +#include "swaybar/bar.h" #include "swaybar/config.h" #include "swaybar/event_loop.h" -#include "swaybar/status_line.h" -#include "swaybar/bar.h" +#include "swaybar/i3bar.h" #include "swaybar/ipc.h" +#include "swaybar/status_line.h" +#include "swaybar/render.h" #include "ipc-client.h" #include "list.h" #include "log.h" diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c index 325aa61a..8e9b038b 100644 --- a/swaybar/i3bar.c +++ b/swaybar/i3bar.c @@ -6,7 +6,9 @@ #include <string.h> #include <unistd.h> #include <wlr/util/log.h> +#include "swaybar/bar.h" #include "swaybar/config.h" +#include "swaybar/i3bar.h" #include "swaybar/status_line.h" void i3bar_block_unref(struct i3bar_block *block) { diff --git a/swaybar/render.c b/swaybar/render.c index 9413dc57..035be0b1 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -10,6 +10,7 @@ #include "pool-buffer.h" #include "swaybar/bar.h" #include "swaybar/config.h" +#include "swaybar/i3bar.h" #include "swaybar/ipc.h" #include "swaybar/render.h" #include "swaybar/status_line.h" diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 1442e1a0..ed6dc7c8 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -7,7 +7,9 @@ #include <stdio.h> #include <unistd.h> #include <wlr/util/log.h> +#include "swaybar/bar.h" #include "swaybar/config.h" +#include "swaybar/i3bar.h" #include "swaybar/event_loop.h" #include "swaybar/status_line.h" #include "readline.h" |