customization
This commit is contained in:
parent
8f0322c2e3
commit
c280021253
|
|
@ -1,4 +1,3 @@
|
||||||
config.h
|
|
||||||
version.h
|
version.h
|
||||||
*.d
|
*.d
|
||||||
*.o
|
*.o
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -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)"; \
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
||||||
Loading…
Reference in New Issue