Skip to content

Commit

Permalink
chore: run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
InioX committed Jun 14, 2024
1 parent a8a3bcb commit 5bf98f5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
7 changes: 3 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ fn main() -> Result<(), Report> {
LevelFilter::Debug
} else {
LevelFilter::Warn
};
setup_logging(log_level)?;
};

setup_logging(log_level)?;

let config: ConfigFile = ConfigFile::read(&args)?;

Expand All @@ -74,7 +74,6 @@ fn main() -> Result<(), Report> {
args.contrast,
));


let default_scheme = args
.mode
.expect("Something went wrong while parsing the mode");
Expand Down
10 changes: 8 additions & 2 deletions src/util/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ use material_colors::dynamic_color::dynamic_scheme::DynamicScheme;
use material_colors::dynamic_color::material_dynamic_colors::MaterialDynamicColors;
use material_colors::theme::{ColorGroup, CustomColor, CustomColorGroup};
use material_colors::{
color::Argb, image::FilterType, hct::Hct, image::ImageReader, scheme::variant::{SchemeContent, SchemeExpressive, SchemeFidelity,
SchemeFruitSalad, SchemeMonochrome, SchemeNeutral, SchemeRainbow, SchemeTonalSpot},
color::Argb,
hct::Hct,
image::FilterType,
image::ImageReader,
scheme::variant::{
SchemeContent, SchemeExpressive, SchemeFidelity, SchemeFruitSalad, SchemeMonochrome,
SchemeNeutral, SchemeRainbow, SchemeTonalSpot,
},
};
use owo_colors::{OwoColorize, Style};

Expand Down
2 changes: 1 addition & 1 deletion src/util/filters.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use colorsys::ColorTransform;
use colorsys::Hsl;
use colorsys::Rgb;
use colorsys::{Hsl};
use std::str::FromStr;
use upon::Value;

Expand Down
2 changes: 1 addition & 1 deletion src/wallpaper/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pub mod unix;
pub mod windows;

#[cfg(target_os = "macos")]
pub mod macos;
pub mod macos;

0 comments on commit 5bf98f5

Please sign in to comment.