waycrate / swhkd

Sxhkd clone for Wayland (works on TTY and X11 too)
https://git.sr.ht/~shinyzenith/swhkd
BSD 2-Clause "Simplified" License
676 stars 47 forks source link

non-blocking scdoc check #151

Closed bimbarbaz closed 2 years ago

bimbarbaz commented 2 years ago

Since scdoc spawn a blocking process, the build script would hang, using scdoc -v doesn't block and works just fine to check if scdoc is available.

An alternative could be using the which crate: https://crates.io/crates/which

But this fix is "good enough".