Compare commits

..

No commits in common. "368ac084493e25f660b1f01a3d4072e25a72c114" and "e99cbeec6e45b64c3020f178862bec77c8c0c8e1" have entirely different histories.

2 changed files with 6 additions and 14 deletions

View File

@ -48,22 +48,13 @@ impl Wallpapers {
pub fn random_selection(&self, monitor_type: MonitorType) {
match monitor_type {
MonitorType::Ultrawide => {
println!(
"{:?}",
self.ultrawide.choose(&mut rand::thread_rng()).unwrap()
);
println!("{:?}", self.ultrawide.choose(&mut rand::thread_rng()));
}
MonitorType::Horizontal => {
println!(
"{:?}",
self.horizontal.choose(&mut rand::thread_rng()).unwrap()
);
println!("{:?}", self.horizontal.choose(&mut rand::thread_rng()));
}
MonitorType::Vertical => {
println!(
"{:?}",
self.vertical.choose(&mut rand::thread_rng()).unwrap()
);
println!("{:?}", self.vertical.choose(&mut rand::thread_rng()));
}
_ => {}
}

View File

@ -1,8 +1,9 @@
mod config;
use crate::config::*;
mod enums;
use enums::*;
use crate::enums::*;
mod files;
use files::*;
use crate::files::*;
fn main() {
let mut wallpapers = Wallpapers::new();