Merge pull request #3308 from khaneliman/bugfix/3280

modules/hyprland/backend: use /tmp
master
Alexis Rouillard 2024-05-28 18:00:53 +02:00 committed by GitHub
commit 0d518cb5a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;