A template for using chunkwm-rs
.
- Clone this repository (
git clone https://github.com/splintah/chunkwm-rs-template
). - Run
make install
. - Copy
bin/template.so
toyour-chunkwm-plugins/template.so
, where 'your-chunkwm-plugins' should be replaced with the directory specified in yourchunkwmrc
afterchunkc core::plugin_dir
. - Run
chunkc core::load template.so
.
To change the plugin, edit src/lib.rs
.
When using a different name than template
, change all occurrences of template
in the Makfile
to the new name, and make sure the name is changed in Cargo.toml
.