forked from external/yambar
decorations: remove header files
This commit is contained in:
parent
7754ef3661
commit
1c18dbf1a0
8 changed files with 8 additions and 35 deletions
10
config.c
10
config.c
|
@ -7,16 +7,10 @@
|
|||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "color.h"
|
||||
|
||||
#include "decoration.h"
|
||||
#include "decorations/background.h"
|
||||
#include "decorations/stack.h"
|
||||
#include "decorations/underline.h"
|
||||
|
||||
#include "bar.h"
|
||||
#include "module.h"
|
||||
#include "color.h"
|
||||
#include "config-verify.h"
|
||||
#include "module.h"
|
||||
#include "plugin.h"
|
||||
|
||||
static uint8_t
|
||||
|
|
|
@ -6,13 +6,13 @@ target_include_directories(decoration-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
|||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX decoration_)
|
||||
|
||||
add_library(background MODULE background.c background.h)
|
||||
add_library(background MODULE background.c)
|
||||
target_link_libraries(background decoration-sdk)
|
||||
|
||||
add_library(stack MODULE stack.c stack.h)
|
||||
add_library(stack MODULE stack.c)
|
||||
target_link_libraries(stack decoration-sdk)
|
||||
|
||||
add_library(underline MODULE underline.c underline.h)
|
||||
add_library(underline MODULE underline.c)
|
||||
target_link_libraries(underline decoration-sdk)
|
||||
|
||||
install(
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
#include "background.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../config.h"
|
||||
#include "../config-verify.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct private {
|
||||
struct rgba color;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "../color.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct deco *deco_background(struct rgba color);
|
|
@ -1,11 +1,10 @@
|
|||
#include "underline.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LOG_MODULE "stack"
|
||||
#include "../log.h"
|
||||
#include "../config.h"
|
||||
#include "../config-verify.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct private {
|
||||
struct deco **decos;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "../color.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct deco *deco_stack(struct deco *decos[], size_t count);
|
|
@ -1,9 +1,8 @@
|
|||
#include "underline.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../config.h"
|
||||
#include "../config-verify.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct private {
|
||||
int size;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "../color.h"
|
||||
#include "../decoration.h"
|
||||
|
||||
struct deco *deco_underline(int size, struct rgba color);
|
Loading…
Add table
Reference in a new issue