From c23ac22e06eaa0cb9d36c7264ce171fa4c6b1b09 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Thu, 9 Nov 2023 16:28:21 -0800 Subject: [PATCH] adjusted the gradient --- ewwtilities/src/calendar_background.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewwtilities/src/calendar_background.rs b/ewwtilities/src/calendar_background.rs index 0cc1e86..81bab32 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 30%)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as i32, 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());