diff --git a/crates/eww/src/window_arguments.rs b/crates/eww/src/window_arguments.rs index 819369a2..1eab653a 100644 --- a/crates/eww/src/window_arguments.rs +++ b/crates/eww/src/window_arguments.rs @@ -37,7 +37,7 @@ impl WindowArguments { size: WindowArguments::extract_value_from_args::("size", &mut args)?, monitor: WindowArguments::extract_value_from_args::("screen", &mut args)?, anchor: WindowArguments::extract_value_from_args::("anchor", &mut args)?, - duration: WindowArguments::extract_value_from_args::("duration", &mut args)?, + duration: WindowArguments::extract_value_from_args::("duration", &mut args)?.map(|x| x.as_duration()).transpose()?, args, };