$OpenBSD: patch-src_events_c,v 1.11 2018/02/11 19:23:49 kn Exp $
Index: src/events.c
--- src/events.c.orig
+++ src/events.c
@@ -124,7 +124,7 @@ void init_buttonbindings(void)
 
 	free(confpath);
 
-	if (!conf && ((conf = fopen("/etc/feh/buttons", "r")) == NULL))
+	if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/buttons", "r")) == NULL))
 		return;
 
 	while (fgets(line, sizeof(line), conf)) {
