mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-12-22 10:19:48 +01:00
util: fix xcur2png check
This commit is contained in:
parent
03d38a4232
commit
96a015fc20
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ static std::string spawnSync(const std::string& cmd) {
|
|||
|
||||
static std::optional<std::string> 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"))
|
||||
|
|
Loading…
Reference in a new issue