diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-07-30 16:33:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 23:33:56 +0200 |
| commit | 3b9b5346b830554aa7470ccf1202a7f3be72d1b4 (patch) | |
| tree | 6770e07783bc49414e92bd23e0041971a8b6a360 /src/debug/HyprCtl.cpp | |
| parent | 8ec3dc4c09c30aab7669f99ba6359be320023fa8 (diff) | |
protocols: Move globalshortcuts impl (#7102)
* move global shortcuts to hyprwayland-scanner
* remove wayland-scanner from deps
* fix the thing
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index b81cfeff..d89d1772 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -32,6 +32,7 @@ using namespace Hyprutils::String; #include "../devices/IKeyboard.hpp" #include "../devices/ITouch.hpp" #include "../devices/Tablet.hpp" +#include "../protocols/GlobalShortcuts.hpp" #include "debug/RollingLogFollow.hpp" #include "config/ConfigManager.hpp" #include "helpers/MiscFunctions.hpp" @@ -776,7 +777,7 @@ std::string rollinglogRequest(eHyprCtlOutputFormat format, std::string request) std::string globalShortcutsRequest(eHyprCtlOutputFormat format, std::string request) { std::string ret = ""; - const auto SHORTCUTS = g_pProtocolManager->m_pGlobalShortcutsProtocolManager->getAllShortcuts(); + const auto SHORTCUTS = PROTO::globalShortcuts->getAllShortcuts(); if (format == eHyprCtlOutputFormat::FORMAT_NORMAL) { for (auto& sh : SHORTCUTS) ret += std::format("{}:{} -> {}\n", sh.appid, sh.id, sh.description); |
