$OpenBSD: patch-src_keyevents_c,v 1.18 2018/05/06 15:22:12 bcallah Exp $
Index: src/keyevents.c
--- src/keyevents.c.orig
+++ src/keyevents.c
@@ -226,7 +226,7 @@ void init_keyevents(void) {
 
 	free(confpath);
 
-	if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
+	if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/keys", "r")) == NULL))
 		return;
 
 	while (fgets(line, sizeof(line), conf)) {
