From 6642ca88432543fe4caaf1b855be90057c018372 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 1 Dec 2023 16:24:30 -0800 Subject: [PATCH] refactor(cli): update animation cmd names --- komorebic/src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index 6bc6ad0f1..ab258c8d7 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -629,19 +629,19 @@ struct ActiveWindowBorderOffset { } #[derive(Parser, AhkFunction)] -struct Animate { +struct Animation { #[clap(value_enum)] boolean_state: BooleanState, } #[derive(Parser, AhkFunction)] -struct AnimateDuration { +struct AnimationDuration { /// Desired animation durations in ms duration: u64, } #[derive(Parser, AhkFunction)] -struct AnimateEase { +struct AnimationEase { /// Desired ease function for animation #[clap(value_enum, short, long, default_value = "linear")] ease_func: EaseEnum, @@ -1081,13 +1081,13 @@ enum SubCommand { ActiveWindowBorderOffset(ActiveWindowBorderOffset), /// Enable or disable the window move animation #[clap(arg_required_else_help = true)] - Animate(Animate), + Animate(Animation), /// Set the duration for the window move animation in ms #[clap(arg_required_else_help = true)] - AnimateDuration(AnimateDuration), + AnimateDuration(AnimationDuration), /// Set the ease function for the window move animation #[clap(arg_required_else_help = true)] - AnimateEase(AnimateEase), + AnimateEase(AnimationEase), /// Enable or disable focus follows mouse for the operating system #[clap(arg_required_else_help = true)] FocusFollowsMouse(FocusFollowsMouse),