customization

This commit is contained in:
krolyxon 2023-02-03 14:00:48 +05:30
parent 8f0322c2e3
commit c280021253
3 changed files with 3 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
config.h
version.h version.h
*.d *.d
*.o *.o

View File

@ -44,10 +44,6 @@ $(objs): Makefile config.mk nsxiv.h config.h commands.h
options.o: version.h optparse.h options.o: version.h optparse.h
window.o: icon/data.h utf8.h window.o: icon/data.h utf8.h
config.h:
@echo "GEN $@"
cp config.def.h $@
version.h: config.mk .git/index version.h: config.mk .git/index
@echo "GEN $@" @echo "GEN $@"
v="$$(git describe 2>/dev/null || true)"; \ v="$$(git describe 2>/dev/null || true)"; \

View File

@ -7,11 +7,11 @@ static const int WIN_HEIGHT = 600;
/* colors and font can be overwritten via X resource properties. /* colors and font can be overwritten via X resource properties.
* See nsxiv(1), X(7) section Resources and xrdb(1) for more information. * 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_BG = "#222222";
static const char *DEFAULT_WIN_FG = "black"; static const char *DEFAULT_WIN_FG = "white";
static const char *DEFAULT_MARK_COLOR = NULL; /* NULL means it will default to window foreground */ static const char *DEFAULT_MARK_COLOR = NULL; /* NULL means it will default to window foreground */
#if HAVE_LIBFONTS #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_BAR_FG = NULL; /* NULL means it will default to window foreground */
static const char *DEFAULT_FONT = "monospace-8"; static const char *DEFAULT_FONT = "monospace-8";