From 96a015fc2040fc23aa8b4202ee35b549866eab27 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 10 Mar 2024 03:07:16 +0000 Subject: [PATCH] util: fix xcur2png check --- hyprcursor-util/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprcursor-util/src/main.cpp b/hyprcursor-util/src/main.cpp index 9e749a9..1dad6b1 100644 --- a/hyprcursor-util/src/main.cpp +++ b/hyprcursor-util/src/main.cpp @@ -290,7 +290,7 @@ static std::string spawnSync(const std::string& cmd) { static std::optional extractXTheme(const std::string& xpath_, const std::string& out_) { - if (!spawnSync("xcur2png --help").contains("xcursor")) + if (!spawnSync("xcur2png --help 2>&1").contains("xcursor")) return "missing dependency: -x requires xcur2png."; if (!std::filesystem::exists(xpath_) || !std::filesystem::exists(xpath_ + "/cursors"))