$OpenBSD: patch-src_events_c,v 1.9 2016/04/13 12:54:55 dcoppa Exp $
--- src/events.c.orig	Sat Apr  9 20:43:53 2016
+++ src/events.c	Wed Apr 13 14:44:36 2016
@@ -122,7 +122,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)) {
