aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-08-19 18:46:17 +0200
committerBert <ber.t@gmx.com>2011-08-19 18:46:17 +0200
commitbb577d274dbd9981a726092a504466bc9b5c9bdb (patch)
treef3bbf611ddd904f80dfe20bb4d1171d1dc45ed3d /config.h
parent8b3ae5027e9490bd7edfeea3d3cd2fbc5ec4beaf (diff)
downloadnsxiv-bb577d274dbd9981a726092a504466bc9b5c9bdb.tar.zst
Added command to toggle gif animations
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h b/config.h
index 07371c9..46e30c6 100644
--- a/config.h
+++ b/config.h
@@ -29,7 +29,7 @@ static const float zoom_levels[] = {
100.0, 150.0, 200.0, 400.0, 800.0
};
-/* default settings for gif images: */
+/* default settings for multi-frame gif images: */
enum {
GIF_DELAY = 100, /* delay time (in ms) */
GIF_AUTOPLAY = 1, /* autoplay when loaded [0/1] */
@@ -64,8 +64,9 @@ static const keymap_t keys[] = {
{ False, XK_g, it_first, (arg_t) None },
{ False, XK_G, it_last, (arg_t) None },
- { False, XK_N, i_navigate_frame, (arg_t) +1 },
- { False, XK_P, i_navigate_frame, (arg_t) -1 },
+ { True, XK_n, i_navigate_frame, (arg_t) +1 },
+ { True, XK_p, i_navigate_frame, (arg_t) -1 },
+ { True, XK_space, i_toggle_animation, (arg_t) None },
{ False, XK_h, it_move, (arg_t) DIR_LEFT },
{ False, XK_Left, it_move, (arg_t) DIR_LEFT },