modified config.def
This commit is contained in:
parent
d40b6fa723
commit
cb1b6037e6
10
config.def.h
10
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
|
||||
|
|
Loading…
Reference in a new issue