From 95fb3cad63941466e913775a3c080b310d45d13a Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Tue, 4 Nov 2025 17:29:52 -0500 Subject: refactor onfig file and delete word backward --- main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 6c675b1..267fe13 100644 --- a/main.c +++ b/main.c @@ -4,6 +4,7 @@ #include #include +#include "config.h" #include "array.h" #include "state.h" #include "wayland.h" @@ -47,6 +48,8 @@ int main(int argc, char* argv[]) { state.page_indices = array_new(size_t, 0); state.strstr = strstr; + init_conf(); + // check locale setlocale(LC_ALL, ""); const char *encoding = nl_langinfo(CODESET); -- cgit v1.2.3