diff --git a/src/bin/work.rs b/src/bin/work.rs index a05a325..8f9701b 100644 --- a/src/bin/work.rs +++ b/src/bin/work.rs @@ -1,12 +1,12 @@ use chrono::NaiveTime; -use i3monkit::widgets::CpuWidget; use i3monkit::{ColorRGB, Header, I3Protocol, WidgetCollection}; use num_cpus; use structopt::StructOpt; +use i3xs::widgets::cpu::CpuWidget; use i3xs::widgets::datetime::{DateTimeWidget, TimeColor}; use i3xs::widgets::network::NetworkSpeedWidget; @@ -22,7 +22,7 @@ fn main() { let opts = Opt::from_args(); - //Display all the cpu usage for each core + // Display all the cpu usage for each core for i in 0..num_cpus::get() as u32 { bar.push(CpuWidget::new(i)); }