Skip to content

Commit

Permalink
modules/hyprland/backend: use /tmp
Browse files Browse the repository at this point in the history
Was hardcoded to /tmp in previous versions
  • Loading branch information
khaneliman committed May 28, 2024
1 parent 57f2a57 commit 4507885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/hyprland/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4507885

Please sign in to comment.