Skip to content

Commit

Permalink
Merge pull request #3308 from khaneliman/bugfix/3280
Browse files Browse the repository at this point in the history
modules/hyprland/backend: use /tmp
  • Loading branch information
Alexays authored May 28, 2024
2 parents 57f2a57 + 24e8766 commit 0d518cb
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 0d518cb

Please sign in to comment.