mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-09 01:15:57 +01:00
27 lines
No EOL
799 B
C++
27 lines
No EOL
799 B
C++
#pragma once
|
|
|
|
#include "utilities/Keybind.hpp"
|
|
#include <vector>
|
|
#include "windowManager.hpp"
|
|
|
|
#include <map>
|
|
|
|
namespace KeybindManager {
|
|
inline std::vector<Keybind> keybinds;
|
|
|
|
unsigned int modToMask(MODS);
|
|
|
|
Keybind* findKeybindByKey(int mod, xcb_keysym_t keysym);
|
|
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);
|
|
void movewindow(std::string args);
|
|
void changeworkspace(std::string args);
|
|
void toggleActiveWindowFullscreen(std::string args);
|
|
|
|
|
|
uint32_t getKeyCodeFromName(std::string);
|
|
}; |