#pragma once #include "utilities/Keybind.hpp" #include #include "windowManager.hpp" #include namespace KeybindManager { inline std::vector keybinds; unsigned int modToMask(std::string); Keybind* findKeybindByKey(int mod, xcb_keysym_t keysym); xcb_keysym_t getKeysymFromKeycode(xcb_keycode_t keycode); xcb_keycode_t getKeycodeFromKeysym(xcb_keysym_t keysym); uint32_t getKeyCodeFromName(std::string); // Dispatchers void call(std::string args); void killactive(std::string args); void movewindow(std::string args); void movefocus(std::string args); void changeworkspace(std::string args); void toggleActiveWindowFullscreen(std::string args); void toggleActiveWindowFloating(std::string args); void movetoworkspace(std::string args); };