From cb1b6037e6b41b9546bf6e8ad2eb449825721b18 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Mon, 5 Aug 2024 15:36:38 +0200 Subject: [PATCH] modified config.def --- config.def.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index ead1509..3e5fd7a 100644 --- a/config.def.h +++ b/config.def.h @@ -7,13 +7,13 @@ 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. * X resource value (NULL == default) */ -static const char *WIN_BG[] = { "Nsxiv.window.background", "white" }; -static const char *WIN_FG[] = { "Nsxiv.window.foreground", "black" }; +static const char *WIN_BG[] = { "Nsxiv.window.background", "#222222" }; +static const char *WIN_FG[] = { "Nsxiv.window.foreground", "#cccccc" }; static const char *MARK_FG[] = { "Nsxiv.mark.foreground", NULL }; #if HAVE_LIBFONTS static const char *BAR_BG[] = { "Nsxiv.bar.background", NULL }; static const char *BAR_FG[] = { "Nsxiv.bar.foreground", NULL }; -static const char *BAR_FONT[] = { "Nsxiv.bar.font", "monospace-8" }; +static const char *BAR_FONT[] = { "Nsxiv.bar.font", "Mononoki Nerd Font:size=16" }; /* if true, statusbar appears on top of the window */ static const bool TOP_STATUSBAR = false; @@ -53,8 +53,8 @@ static const int PAN_FRACTION = 5; * NOTE: higher cache size means better image reloading performance, but also * higher memory usage. */ -static const int CACHE_SIZE_MEM_PERCENTAGE = 3; /* use 3% of total memory for cache */ -static const int CACHE_SIZE_LIMIT = 256 * 1024 * 1024; /* but not above 256MiB */ +static const int CACHE_SIZE_MEM_PERCENTAGE = 2; /* use 3% of total memory for cache */ +static const int CACHE_SIZE_LIMIT = 200 * 1024 * 1024; /* but not above 256MiB */ static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */ #endif