Skip to content

Commit

Permalink
use absolute path for config
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbaath committed May 7, 2018
1 parent a96e118 commit cda6ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cda6ccf

Please sign in to comment.