From c28002125358ea355300c520aa5c2715ae9a6f6a Mon Sep 17 00:00:00 2001 From: krolyxon Date: Fri, 3 Feb 2023 14:00:48 +0530 Subject: [PATCH] customization --- .gitignore | 1 - Makefile | 4 ---- config.def.h => config.h | 6 +++--- 3 files changed, 3 insertions(+), 8 deletions(-) rename config.def.h => config.h (98%) diff --git a/.gitignore b/.gitignore index b0c0928..f113c7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -config.h version.h *.d *.o diff --git a/Makefile b/Makefile index 3527741..626c32c 100644 --- a/Makefile +++ b/Makefile @@ -44,10 +44,6 @@ $(objs): Makefile config.mk nsxiv.h config.h commands.h options.o: version.h optparse.h window.o: icon/data.h utf8.h -config.h: - @echo "GEN $@" - cp config.def.h $@ - version.h: config.mk .git/index @echo "GEN $@" v="$$(git describe 2>/dev/null || true)"; \ diff --git a/config.def.h b/config.h similarity index 98% rename from config.def.h rename to config.h index a0935f6..fbc9b43 100644 --- a/config.def.h +++ b/config.h @@ -7,11 +7,11 @@ static const int WIN_HEIGHT = 600; /* colors and font can be overwritten via X resource properties. * See nsxiv(1), X(7) section Resources and xrdb(1) for more information. */ -static const char *DEFAULT_WIN_BG = "white"; -static const char *DEFAULT_WIN_FG = "black"; +static const char *DEFAULT_WIN_BG = "#222222"; +static const char *DEFAULT_WIN_FG = "white"; static const char *DEFAULT_MARK_COLOR = NULL; /* NULL means it will default to window foreground */ #if HAVE_LIBFONTS -static const char *DEFAULT_BAR_BG = NULL; /* NULL means it will default to window background */ +static const char *DEFAULT_BAR_BG = "#224488"; /* NULL means it will default to window background */ static const char *DEFAULT_BAR_FG = NULL; /* NULL means it will default to window foreground */ static const char *DEFAULT_FONT = "monospace-8";