@@ -925,11 +925,11 @@ bool CKeybindManager::handleInternalKeybinds(xkb_keysym_t keysym) {
925
925
926
926
// Dispatchers
927
927
SDispatchResult CKeybindManager::spawn (std::string args) {
928
- const uint64_t PROC = spawnWithRules (args, nullptr );
928
+ const pid_t PROC = spawnWithRules (args, nullptr );
929
929
return {.success = PROC > 0 , .error = std::format (" Failed to start process {}" , args)};
930
930
}
931
931
932
- uint64_t CKeybindManager::spawnWithRules (std::string args, PHLWORKSPACE pInitialWorkspace) {
932
+ pid_t CKeybindManager::spawnWithRules (std::string args, PHLWORKSPACE pInitialWorkspace) {
933
933
934
934
args = trim (args);
935
935
@@ -941,7 +941,7 @@ uint64_t CKeybindManager::spawnWithRules(std::string args, PHLWORKSPACE pInitial
941
941
args = args.substr (args.find_first_of (' ]' ) + 1 );
942
942
}
943
943
944
- const uint64_t PROC = spawnRawProc (args, pInitialWorkspace);
944
+ const pid_t PROC = spawnRawProc (args, pInitialWorkspace);
945
945
946
946
if (!RULES.empty ()) {
947
947
const auto RULESLIST = CVarList (RULES, 0 , ' ;' );
@@ -966,11 +966,11 @@ uint64_t CKeybindManager::spawnWithRules(std::string args, PHLWORKSPACE pInitial
966
966
}
967
967
968
968
SDispatchResult CKeybindManager::spawnRaw (std::string args) {
969
- const uint64_t PROC = spawnRawProc (args, nullptr );
969
+ const pid_t PROC = spawnRawProc (args, nullptr );
970
970
return {.success = PROC > 0 , .error = std::format (" Failed to start process {}" , args)};
971
971
}
972
972
973
- uint64_t CKeybindManager::spawnRawProc (std::string args, PHLWORKSPACE pInitialWorkspace) {
973
+ pid_t CKeybindManager::spawnRawProc (std::string args, PHLWORKSPACE pInitialWorkspace) {
974
974
Debug::log (LOG, " Executing {}" , args);
975
975
976
976
const auto HLENV = getHyprlandLaunchEnv (pInitialWorkspace);
0 commit comments