aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 5d4e97a..c49a5eb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,14 +6,14 @@ 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_MARK_COLOR = NULL; /* NULL means it will default to window foreground */
+ * X resource default value */
+static const char *WIN_BG[] = { "Nsxiv.window.background", "white" };
+static const char *WIN_FG[] = { "Nsxiv.window.foreground", "black" };
+static const char *MARK_FG[] = { "Nsxiv.mark.foreground", 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_FG = NULL; /* NULL means it will default to window foreground */
-static const char *DEFAULT_FONT = "monospace-8";
+static const char *BAR_BG[] = { "Nsxiv.bar.background", NULL }; /* NULL means it will default to window background */
+static const char *BAR_FG[] = { "Nsxiv.bar.foreground", NULL }; /* NULL means it will default to window foreground */
+static const char *BAR_FONT[] = { "Nsxiv.bar.font", "monospace-8" };
/* if true, statusbar appears on top of the window */
static const bool TOP_STATUSBAR = false;