aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--config.h (renamed from config.def.h)6
3 files changed, 3 insertions, 8 deletions
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
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";