diff --git a/Cargo.toml b/Cargo.toml index f881ad74..9dcd1b38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -142,12 +142,11 @@ assets = [ ], ["completion/_btm", "usr/share/zsh/vendor-completions/", "644"], ] -extended-description = """\ -A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows. +extended-description = """ -By default, bottom will look for a config file in ~/.config/bottom/bottom.toml. -If one is not specified it will fall back to defaults. If a config file does not -exist at the specified or default location, a blank one will be created for the user. +By default, bottom will look for a config file in ~/.config/bottom/bottom.toml. A config file can be specified \ +using `-C`. If a config file does not exist at the specified or default location, a default one will be created \ +for the user there. """ [package.metadata.deb.variants.arm64] diff --git a/src/app/data_harvester.rs b/src/app/data_harvester.rs index c85f1b41..25913077 100644 --- a/src/app/data_harvester.rs +++ b/src/app/data_harvester.rs @@ -3,10 +3,13 @@ use std::time::Instant; use futures::join; + #[cfg(target_os = "linux")] use fxhash::FxHashMap; + #[cfg(feature = "battery")] use starship_battery::{Battery, Manager}; + #[cfg(not(target_os = "linux"))] use sysinfo::{System, SystemExt};