feat(config): adds per animation configuration options

Originally static config only allows global config for animations.
Since this refactor introduces abilty to add more type of animations,
this change allows to configure `enabled`, `duration` and `style` state
per animation type.
Now each of them take either raw value or JSON object where keys
are the animation types and values are desired config value.
Also adds support for per animation configuration for komorebic commands.
This commit is contained in:
thearturca
2024-11-10 15:24:28 +03:00
parent e502cb3ffb
commit 369107f5e0
10 changed files with 237 additions and 62 deletions
+1
View File
@@ -1,6 +1,7 @@
#![warn(clippy::all)]
#![allow(clippy::missing_errors_doc)]
pub use komorebi::animation::prefix::AnimationPrefix;
pub use komorebi::asc::ApplicationSpecificConfiguration;
pub use komorebi::colour::Colour;
pub use komorebi::colour::Rgb;