swaybar: move headers to include/bar

This commit is contained in:
Mikkel Oscar Lyderik 2016-01-24 15:55:58 +01:00
parent 4b48a8399a
commit ed227f5664
11 changed files with 14 additions and 14 deletions

View file

@ -8,11 +8,11 @@
#include "ipc-client.h" #include "ipc-client.h"
#include "list.h" #include "list.h"
#include "log.h" #include "log.h"
#include "ipc.h" #include "bar/ipc.h"
#include "render.h" #include "bar/render.h"
#include "config.h" #include "bar/config.h"
#include "status_line.h" #include "bar/status_line.h"
#include "bar.h" #include "bar/bar.h"
static void bar_init(struct bar *bar) { static void bar_init(struct bar *bar) {
bar->config = init_config(); bar->config = init_config();

View file

@ -3,7 +3,7 @@
#include "wayland-desktop-shell-client-protocol.h" #include "wayland-desktop-shell-client-protocol.h"
#include "log.h" #include "log.h"
#include "config.h" #include "bar/config.h"
uint32_t parse_color(const char *color) { uint32_t parse_color(const char *color) {
if (color[0] != '#') { if (color[0] != '#') {

View file

@ -4,8 +4,8 @@
#include "ipc-client.h" #include "ipc-client.h"
#include "list.h" #include "list.h"
#include "log.h" #include "log.h"
#include "config.h" #include "bar/config.h"
#include "ipc.h" #include "bar/ipc.h"
static void ipc_parse_config(struct config *config, const char *payload) { static void ipc_parse_config(struct config *config, const char *payload) {
json_object *bar_config = json_tokener_parse(payload); json_object *bar_config = json_tokener_parse(payload);

View file

@ -5,7 +5,7 @@
#include <getopt.h> #include <getopt.h>
#include "ipc-client.h" #include "ipc-client.h"
#include "log.h" #include "log.h"
#include "bar.h" #include "bar/bar.h"
/* global bar state */ /* global bar state */
struct bar swaybar; struct bar swaybar;

View file

@ -4,9 +4,9 @@
#include "client/pango.h" #include "client/pango.h"
#include "client/window.h" #include "client/window.h"
#include "config.h" #include "bar/config.h"
#include "status_line.h" #include "bar/status_line.h"
#include "render.h" #include "bar/render.h"
/* internal spacing */ /* internal spacing */

View file

@ -4,8 +4,8 @@
#include <json-c/json.h> #include <json-c/json.h>
#include "log.h" #include "log.h"
#include "config.h" #include "bar/config.h"
#include "status_line.h" #include "bar/status_line.h"
#define I3JSON_MAXDEPTH 4 #define I3JSON_MAXDEPTH 4
#define I3JSON_UNKNOWN 0 #define I3JSON_UNKNOWN 0