hyprland/backend: use /tmp

Was hardcoded to /tmp in previous versions
master
Austin Horstman 2024-05-28 10:57:57 -05:00
parent 57f2a57dac
commit 24e8766aaa
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ std::filesystem::path getSocketFolder(const char* instanceSig) {
socketFolder = xdgRuntimeDir / "hypr";
} else {
spdlog::warn("$XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr");
socketFolder = std::filesystem::temp_directory_path() / "hypr";
socketFolder = std::filesystem::path("/tmp") / "hypr";
}
socketFolder = socketFolder / instanceSig;
return socketFolder;