aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-11-04 17:29:52 -0500
committerJack Jamison <jackqjamison@gmail.com>2025-11-06 19:45:03 -0500
commit95fb3cad63941466e913775a3c080b310d45d13a (patch)
tree555cbaf4d5fd7454efbe6ab200e268c04b53ed49 /main.c
parent38d43004656a2d00960484e5e5a5ece46bde840b (diff)
refactor onfig file and delete word backward
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 6c675b1..267fe13 100644
--- a/main.c
+++ b/main.c
@@ -4,6 +4,7 @@
#include <poll.h>
#include <unistd.h>
+#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);