summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp7
1 files changed, 5 insertions, 2 deletions
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 <optional>
#include <iterator>
#include <string>
#include <string_view>
+#include <hyprutils/string/String.hpp>
+using namespace Hyprutils::String;
+
#include <sys/ioctl.h>
#include <fcntl.h>
#include <vector>
@@ -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 = "";