Hi,
please find attached a patch that adds the 'n' key to show the next
slide and the 'p' to show the previous slide.


Alexis
>From e97c8a53fac865c1cf0eaf92ad31d3afaa40afb9 Mon Sep 17 00:00:00 2001
From: Alexis Hildebrandt <[email protected]>
Date: Thu, 26 Nov 2015 15:01:13 +0100
Subject: [PATCH 2/4] Add 'n' and 'p' key for next and previous slide

---
 config.def.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.def.h b/config.def.h
index 0a56047..2dae620 100644
--- a/config.def.h
+++ b/config.def.h
@@ -42,4 +42,6 @@ static Shortcut shortcuts[] = {
        { XK_Up,          advance,        {.i = -1} },
        { XK_Next,        advance,        {.i = +1} },
        { XK_Prior,       advance,        {.i = -1} },
+       { XK_n,           advance,        {.i = +1} },
+       { XK_p,           advance,        {.i = -1} },
 };
-- 
2.6.3

Reply via email to