From 8c64a4bad710fb18e9b84812bd680a89d1e93661 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 11 Jun 2024 17:17:45 +0200 Subject: core: move to hyprutils for utils (#6385) * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan --- src/managers/KeybindManager.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 5811f4a1..49ea39a3 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -6,13 +6,16 @@ #include "KeybindManager.hpp" #include "TokenManager.hpp" #include "debug/Log.hpp" -#include "helpers/VarList.hpp" +#include "helpers/varlist/VarList.hpp" #include #include #include #include +#include +using namespace Hyprutils::String; + #include #include #include @@ -836,7 +839,7 @@ bool CKeybindManager::handleInternalKeybinds(xkb_keysym_t keysym) { void CKeybindManager::spawn(std::string args) { - args = removeBeginEndSpacesTabs(args); + args = trim(args); std::string RULES = ""; -- cgit v1.2.3