parent
57f2a57dac
commit
24e8766aaa
|
@ -27,7 +27,7 @@ std::filesystem::path getSocketFolder(const char* instanceSig) {
|
||||||
socketFolder = xdgRuntimeDir / "hypr";
|
socketFolder = xdgRuntimeDir / "hypr";
|
||||||
} else {
|
} else {
|
||||||
spdlog::warn("$XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr");
|
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;
|
socketFolder = socketFolder / instanceSig;
|
||||||
return socketFolder;
|
return socketFolder;
|
||||||
|
|
Loading…
Reference in New Issue