mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-09 01:15:57 +01:00
20 lines
No EOL
584 B
C++
20 lines
No EOL
584 B
C++
#pragma once
|
|
|
|
#include "utilities/Keybind.hpp"
|
|
#include <vector>
|
|
#include "windowManager.hpp"
|
|
|
|
namespace KeybindManager {
|
|
inline std::vector<Keybind> keybinds;
|
|
|
|
unsigned int modToMask(MODS);
|
|
|
|
Keybind* findKeybindByKey(int mod, xcb_keysym_t keysym);
|
|
void reloadAllKeybinds();
|
|
xcb_keysym_t getKeysymFromKeycode(xcb_keycode_t keycode);
|
|
xcb_keycode_t getKeycodeFromKeysym(xcb_keysym_t keysym);
|
|
|
|
// Dispatchers
|
|
void call(std::string args);
|
|
void killactive(std::string args);
|
|
}; |