From 1743a7c340ee17fb8d3e41fa2a777bcadcb1a867 Mon Sep 17 00:00:00 2001 From: uint23 Date: Sat, 3 May 2025 09:09:09 +0100 Subject: update parser so binds will not overlap from pervious binds + parser is more simple --- src/parser.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/parser.h') diff --git a/src/parser.h b/src/parser.h index 15f82d0..2e132fe 100644 --- a/src/parser.h +++ b/src/parser.h @@ -1,9 +1,8 @@ -/* See LICENSE for more information on use */ #pragma once #include "defs.h" #define MAX_ARGS 64 -void handler(char *command, char *arg, int mods, KeySym keysym, Action action, Bool is_func, Config *user_config); +const char **build_argv(const char *cmd); int parser(Config *user_config); -unsigned int parse_mods(const char *mods, Config *user_config); -KeySym parse_keysym(const char *key); +int parse_mods(const char *mods, Config *user_config); +KeySym parse_keysym(const char *key); \ No newline at end of file -- cgit v1.2.3