diff options
-rw-r--r-- | include/bar/bar.h (renamed from swaybar/bar.h) | 0 | ||||
-rw-r--r-- | include/bar/config.h (renamed from swaybar/config.h) | 0 | ||||
-rw-r--r-- | include/bar/ipc.h (renamed from swaybar/ipc.h) | 0 | ||||
-rw-r--r-- | include/bar/render.h (renamed from swaybar/render.h) | 0 | ||||
-rw-r--r-- | include/bar/status_line.h (renamed from swaybar/status_line.h) | 0 | ||||
-rw-r--r-- | swaybar/bar.c | 10 | ||||
-rw-r--r-- | swaybar/config.c | 2 | ||||
-rw-r--r-- | swaybar/ipc.c | 4 | ||||
-rw-r--r-- | swaybar/main.c | 2 | ||||
-rw-r--r-- | swaybar/render.c | 6 | ||||
-rw-r--r-- | swaybar/status_line.c | 4 |
11 files changed, 14 insertions, 14 deletions
diff --git a/swaybar/bar.h b/include/bar/bar.h index 89496da6..89496da6 100644 --- a/swaybar/bar.h +++ b/include/bar/bar.h diff --git a/swaybar/config.h b/include/bar/config.h index 508b9c42..508b9c42 100644 --- a/swaybar/config.h +++ b/include/bar/config.h diff --git a/swaybar/ipc.h b/include/bar/ipc.h index c3f661f8..c3f661f8 100644 --- a/swaybar/ipc.h +++ b/include/bar/ipc.h diff --git a/swaybar/render.h b/include/bar/render.h index 931a1cdd..931a1cdd 100644 --- a/swaybar/render.h +++ b/include/bar/render.h diff --git a/swaybar/status_line.h b/include/bar/status_line.h index 273542dc..273542dc 100644 --- a/swaybar/status_line.h +++ b/include/bar/status_line.h diff --git a/swaybar/bar.c b/swaybar/bar.c index fc01863b..d80c9af3 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -8,11 +8,11 @@ #include "ipc-client.h" #include "list.h" #include "log.h" -#include "ipc.h" -#include "render.h" -#include "config.h" -#include "status_line.h" -#include "bar.h" +#include "bar/ipc.h" +#include "bar/render.h" +#include "bar/config.h" +#include "bar/status_line.h" +#include "bar/bar.h" static void bar_init(struct bar *bar) { bar->config = init_config(); diff --git a/swaybar/config.c b/swaybar/config.c index 28b609e6..92251831 100644 --- a/swaybar/config.c +++ b/swaybar/config.c @@ -3,7 +3,7 @@ #include "wayland-desktop-shell-client-protocol.h" #include "log.h" -#include "config.h" +#include "bar/config.h" uint32_t parse_color(const char *color) { if (color[0] != '#') { diff --git a/swaybar/ipc.c b/swaybar/ipc.c index 547041ce..4104103d 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -4,8 +4,8 @@ #include "ipc-client.h" #include "list.h" #include "log.h" -#include "config.h" -#include "ipc.h" +#include "bar/config.h" +#include "bar/ipc.h" static void ipc_parse_config(struct config *config, const char *payload) { json_object *bar_config = json_tokener_parse(payload); diff --git a/swaybar/main.c b/swaybar/main.c index fc5acdae..737ee647 100644 --- a/swaybar/main.c +++ b/swaybar/main.c @@ -5,7 +5,7 @@ #include <getopt.h> #include "ipc-client.h" #include "log.h" -#include "bar.h" +#include "bar/bar.h" /* global bar state */ struct bar swaybar; diff --git a/swaybar/render.c b/swaybar/render.c index f3ce6010..bac44075 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -4,9 +4,9 @@ #include "client/pango.h" #include "client/window.h" -#include "config.h" -#include "status_line.h" -#include "render.h" +#include "bar/config.h" +#include "bar/status_line.h" +#include "bar/render.h" /* internal spacing */ diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 6b630c49..ba6de6a1 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -4,8 +4,8 @@ #include <json-c/json.h> #include "log.h" -#include "config.h" -#include "status_line.h" +#include "bar/config.h" +#include "bar/status_line.h" #define I3JSON_MAXDEPTH 4 #define I3JSON_UNKNOWN 0 |