Skip to content

Commit

Permalink
refactor(cli): update animation cmd names
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Dec 2, 2023
1 parent 1f75520 commit 6642ca8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions komorebic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 6642ca8

Please sign in to comment.