diff --git a/hyprcursor-util/src/main.cpp b/hyprcursor-util/src/main.cpp index 6a622b4..f219380 100644 --- a/hyprcursor-util/src/main.cpp +++ b/hyprcursor-util/src/main.cpp @@ -342,7 +342,7 @@ static std::optional extractXTheme(const std::string& xpath_, const std::cout << "Found xcursor " << xcursor.path().stem().string() << "\n"; // decompile xcursor - const auto OUT = spawnSync(std::format("rm -f /tmp/hyprcursor-util/* && cd /tmp/hyprcursor-util && xcur2png {} -d /tmp/hyprcursor-util 2>&1", + const auto OUT = spawnSync(std::format("rm -f /tmp/hyprcursor-util/* && cd /tmp/hyprcursor-util && xcur2png '{}' -d /tmp/hyprcursor-util 2>&1", std::filesystem::canonical(xcursor.path()).string())); // read the config