mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-27 21:58:29 +00:00
Added keybind submaps
This commit is contained in:
@@ -12,6 +12,7 @@ struct SKeybind {
|
||||
std::string handler = "";
|
||||
std::string arg = "";
|
||||
bool locked = false;
|
||||
std::string submap = "";
|
||||
};
|
||||
|
||||
class CKeybindManager {
|
||||
@@ -29,6 +30,8 @@ public:
|
||||
private:
|
||||
std::list<SKeybind> m_lKeybinds;
|
||||
|
||||
inline static std::string m_szCurrentSelectedSubmap = "";
|
||||
|
||||
bool handleInternalKeybinds(xkb_keysym_t);
|
||||
|
||||
// -------------- Dispatchers -------------- //
|
||||
@@ -57,6 +60,7 @@ private:
|
||||
static void resizeActive(std::string);
|
||||
static void circleNext(std::string);
|
||||
static void focusWindowByClass(std::string);
|
||||
static void setSubmap(std::string);
|
||||
|
||||
friend class CCompositor;
|
||||
};
|
||||
|
Reference in New Issue
Block a user