diff --git a/ewwtilities/src/calendar_background.rs b/ewwtilities/src/calendar_background.rs index 1f95072..7f9935b 100644 --- a/ewwtilities/src/calendar_background.rs +++ b/ewwtilities/src/calendar_background.rs @@ -152,7 +152,7 @@ pub fn run_calendar(args: &CliArgs) { "#d3d3d3" }; - println!("linear-gradient({}deg, {}, #262626)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as u32, gradient_color); + println!("linear-gradient({}deg, {}, #262626 30%)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as i32 * (-1), gradient_color); } // println!("{}", serde_json::to_string(&output_state).unwrap());