parent
12054828f9
commit
1a95d95576
4 changed files with 166 additions and 163 deletions
|
@ -15,6 +15,9 @@
|
|||
inline_height = 20;
|
||||
keymap_mode = "vim-normal";
|
||||
|
||||
# because the daemon can't remember my mode (with Ctrl-r)
|
||||
filter_mode = "directory";
|
||||
|
||||
# With workspace filtering enabled, Atuin will filter for commands executed
|
||||
# in any directory within a git repository tree.
|
||||
workspaces = true;
|
||||
|
|
|
@ -6,7 +6,8 @@ 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) */
|
||||
* 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 *MARK_FG[] = {"Nsxiv.mark.foreground", NULL};
|
||||
|
@ -25,10 +26,8 @@ static const bool TOP_STATUSBAR = false;
|
|||
/* levels (in percent) to use when zooming via '-' and '+':
|
||||
* (first/last value is used as min/max zoom level)
|
||||
*/
|
||||
static const float zoom_levels[] = {
|
||||
12.5, 25.0, 50.0, 75.0,
|
||||
100.0, 150.0, 200.0, 400.0, 800.0
|
||||
};
|
||||
static const float zoom_levels[] = {12.5, 25.0, 50.0, 75.0, 100.0,
|
||||
150.0, 200.0, 400.0, 800.0};
|
||||
|
||||
/* default slideshow delay (in sec, overwritten via -S option): */
|
||||
static const int SLIDESHOW_DELAY = 5;
|
||||
|
@ -53,9 +52,12 @@ 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_FALLBACK = 32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */
|
||||
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_FALLBACK =
|
||||
32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */
|
||||
|
||||
#endif
|
||||
#ifdef INCLUDE_OPTIONS_CONFIG
|
||||
|
@ -215,8 +217,6 @@ static const bool NAV_IS_REL = true;
|
|||
static const unsigned int NAV_WIDTH = 33;
|
||||
|
||||
/* mouse cursor on left, middle and right part of the window */
|
||||
static const cursor_t imgcursor[3] = {
|
||||
CURSOR_LEFT, CURSOR_ARROW, CURSOR_RIGHT
|
||||
};
|
||||
static const cursor_t imgcursor[3] = {CURSOR_LEFT, CURSOR_ARROW, CURSOR_RIGHT};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue