diff --git a/wayshot/src/utils.rs b/wayshot/src/utils.rs index a725ad20..7847da07 100644 --- a/wayshot/src/utils.rs +++ b/wayshot/src/utils.rs @@ -139,7 +139,7 @@ pub fn get_default_file_name(extension: EncodingFormat) -> PathBuf { .map(|time| time.as_secs().to_string()) .unwrap_or("unknown".into()); - format!("{time}-wayshot.{extension}").into() + format!("wayshot-{time}.{extension}").into() } fn get_hour_minute_from_unix_seconds(seconds: u64) -> String { @@ -168,5 +168,5 @@ pub fn get_time_stamp_file_name(extension: EncodingFormat) -> PathBuf { } }; - format!("{time}-wayshot.{extension}").into() + format!("wayshot-{time}.{extension}").into() }