bspc-rs
This library provides an implementation of
bspc in rust programming language.
Feel free to open any issue or ask any questions.
Example
use ;
Why choose bspc-rs?
-
Speed. If your script is dealing with the windows and you want to improve the speed, than Rust and
bspc-rsmight be a good choice for you. -
Static types and compilation. This is another reason to choose
bspc-rs, because you might catch some errors at compile-time. This is especially true for big scripts, when mistake of making silly mistake is more high. -
Native integration in Rust code. For example, if you need to do something, besides just dealing with
bspwm, than you can take advantage of other Rust libraries for your needs, that are not extracted into binary programs and therefore can't be used in bash scripts.
More examples
This library was started as a desire to have a native bspc support in Rust
in ixwindow project.
Some small useful scripts/utilities, that I use daily, written with the help of
this library, (basically ported from bash version) can be found in examples directory.