From cd230615440ff5e8e0cde5f39c37070b48e436bc Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Fri, 21 Jan 2022 11:13:22 -0500 Subject: config: no longer compile --- .gitignore | 2 -- Makefile | 3 --- config.def.h | 20 -------------------- config.h | 20 ++++++++++++++++++++ 4 files changed, 20 insertions(+), 25 deletions(-) delete mode 100644 config.def.h create mode 100644 config.h diff --git a/.gitignore b/.gitignore index fddd038..345df9c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,6 @@ *\#* *.o *-client-protocol.h -include/config.h .gdb_history *.log wvkbd -config.h diff --git a/Makefile b/Makefile index 0bdd98e..be21e10 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,6 @@ OBJECTS = $(SOURCES:.c=.o) all: ${BIN} -config.h: config.def.h - cp config.def.h config.h - proto/%-client-protocol.c: proto/%.xml wayland-scanner code < $? > $@ diff --git a/config.def.h b/config.def.h deleted file mode 100644 index ce6d16f..0000000 --- a/config.def.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef config_def_h_INCLUDED -#define config_def_h_INCLUDED - -static const char *default_font = "Monospace 14"; - -struct clr_scheme scheme = { - /* colors */ - .bg = {.bgra = {15, 15, 15, 225}}, - .fg = {.bgra = {45, 45, 45, 225}}, - .high = {.bgra = {100, 100, 100, 225}}, - .swipe = {.bgra = {100, 255, 100, 64}}, - .text = {.color = UINT32_MAX}, -}; - -/* layers is an ordered list of layouts, used to cycle through */ -static enum layout_id layers[] = { - Full, // First layout is the default layout on startup -}; - -#endif // config_def_h_INCLUDED diff --git a/config.h b/config.h new file mode 100644 index 0000000..ce6d16f --- /dev/null +++ b/config.h @@ -0,0 +1,20 @@ +#ifndef config_def_h_INCLUDED +#define config_def_h_INCLUDED + +static const char *default_font = "Monospace 14"; + +struct clr_scheme scheme = { + /* colors */ + .bg = {.bgra = {15, 15, 15, 225}}, + .fg = {.bgra = {45, 45, 45, 225}}, + .high = {.bgra = {100, 100, 100, 225}}, + .swipe = {.bgra = {100, 255, 100, 64}}, + .text = {.color = UINT32_MAX}, +}; + +/* layers is an ordered list of layouts, used to cycle through */ +static enum layout_id layers[] = { + Full, // First layout is the default layout on startup +}; + +#endif // config_def_h_INCLUDED -- cgit 1.4.1