Whoops, forgot to change part type of cpu block

master
Rasmus Rosengren 3 years ago
parent fcc127d818
commit 1e2e3c907c
Signed by: rsrp
GPG Key ID: A13BC7BC4F81CF5F
  1. 2
      src/blocks/cpu.rs

@ -26,7 +26,7 @@ impl Block for CpuBlock {
let load_percentage = 100.0 * cpu.user;
let update = BlockUpdate::Single(
BlockInfo::from_unnamed(format!(" \u{f3fd}{:>5.2}% ", load_percentage)).build(),
BlockInfo::from_main(format!(" \u{f3fd}{:>5.2}% ", load_percentage)).build(),
);
update_s.send(update).unwrap();
}

Loading…
Cancel
Save