From cda6ccf981194381a4cea0a405204e2f87b9bd6a Mon Sep 17 00:00:00 2001 From: Johan Baath Date: Mon, 7 May 2018 13:18:46 +0200 Subject: [PATCH] use absolute path for config --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b8a1271..bb3a955 100644 --- a/main.c +++ b/main.c @@ -40,7 +40,7 @@ CGEventRef filterKeysCallback(CGEventTapProxy proxy, CGEventType type, } bool load_settings() { - JSON_Value *root_value = json_parse_file("./settings.json"); + JSON_Value *root_value = json_parse_file("/usr/local/etc/keyblock/settings.json"); if (json_value_get_type(root_value) != JSONObject) { return false;