mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
swaybar: move headers to include/bar
This commit is contained in:
parent
4b48a8399a
commit
ed227f5664
|
@ -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();
|
||||||
|
|
|
@ -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] != '#') {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue