We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e03c7a commit 92242f0Copy full SHA for 92242f0
src/modules/hyprland/backend.cpp
@@ -18,6 +18,9 @@ namespace waybar::modules::hyprland {
18
std::filesystem::path IPC::socketFolder_;
19
20
std::filesystem::path IPC::getSocketFolder(const char* instanceSig) {
21
+ static std::mutex folderMutex;
22
+ std::unique_lock lock(folderMutex);
23
+
24
// socket path, specified by EventManager of Hyprland
25
if (!socketFolder_.empty()) {
26
return socketFolder_;
0 commit comments