mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 22:20:18 +00:00
(docs): Updates docs and removes a debug
This commit is contained in:
commit
620d614f12
2 changed files with 23 additions and 46 deletions
37
README.md
37
README.md
|
@ -14,54 +14,31 @@ This documentation is relevant to version 0.3.0. Please refer to [release branch
|
|||
## Table of Contents
|
||||
|
||||
- [Installation](#installation)
|
||||
|
||||
- [Manual](#manual)
|
||||
|
||||
- [Cargo](#cargo)
|
||||
|
||||
- [AUR](#aur)
|
||||
|
||||
- [Debian (and Debian-based)](#debian)
|
||||
|
||||
- [Homebrew](#homebrew)
|
||||
|
||||
- [Scoop](#scoop)
|
||||
|
||||
- [Chocolatey](#chocolatey)
|
||||
|
||||
- [Usage](#usage)
|
||||
|
||||
- [Flags](#flags)
|
||||
|
||||
- [Options](#options)
|
||||
|
||||
- [Keybindings](#keybindings)
|
||||
|
||||
- [General](#general)
|
||||
- [CPU bindings](#cpu-bindings)
|
||||
- [Process bindings](#process-bindings)
|
||||
- [Process search bindings](#process-search-bindings)
|
||||
|
||||
- [Features](#features)
|
||||
|
||||
- [Process filtering](#process-filtering)
|
||||
|
||||
- [Zoom](#zoom)
|
||||
|
||||
- [Maximizing](#maximizing)
|
||||
|
||||
- [Config files](#config-files)
|
||||
|
||||
- [Config flags](#config-flags)
|
||||
|
||||
- [Theming](#theming)
|
||||
|
||||
- [Layout](#layout)
|
||||
|
||||
- [Compatibility](#compatibility)
|
||||
|
||||
- [Contributors](#contributors)
|
||||
|
||||
- [Contribution](#contribution)
|
||||
- [Thanks](#thanks)
|
||||
|
||||
## Installation
|
||||
|
@ -70,7 +47,7 @@ Note that binaries are built on the stable version of Rust, and I mainly test an
|
|||
|
||||
### Manual
|
||||
|
||||
Clone from this repo or from [Releases](https://github.com/ClementTsang/bottom/releases), and build with `cargo build --release`.
|
||||
Clone from this repo or from [Releases](https://github.com/ClementTsang/bottom/releases), and build with `cargo build --release`. You may also want to strip the binary after.
|
||||
|
||||
### Cargo
|
||||
|
||||
|
@ -158,7 +135,7 @@ Run using `btm`.
|
|||
#### General
|
||||
|
||||
| | |
|
||||
| -------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||
| -------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| `q`, `Ctrl-c` | Quit bottom |
|
||||
| `Esc` | Close dialog windows, search, widgets, or exit maximized mode |
|
||||
| `Ctrl-r` | Reset display and any collected data |
|
||||
|
@ -173,7 +150,7 @@ Run using `btm`.
|
|||
| `+` | Zoom in on a chart |
|
||||
| `-` | Zoom out on a chart |
|
||||
| `=` | Reset zoom |
|
||||
| Mouse scroll | Table: Scrolls through the list Chart: Zooms in or out by scrolling up or down respectively |
|
||||
| Mouse scroll | Table: Scrolls through the list<br>Chart: Zooms in or out by scrolling up or down respectively |
|
||||
|
||||
#### CPU bindings
|
||||
|
||||
|
@ -183,7 +160,7 @@ Run using `btm`.
|
|||
| `Space` | Toggle enabled/disabled cores |
|
||||
| `Esc` | Exit filtering mode |
|
||||
|
||||
#### Processes bindings
|
||||
#### Process bindings
|
||||
|
||||
| | |
|
||||
| ------------- | ---------------------------------------------------------- |
|
||||
|
@ -382,13 +359,15 @@ and get the following CPU donut:
|
|||
|
||||
### Compatibility
|
||||
|
||||
The current compatibility of widgets with operating systems from personal testing:
|
||||
|
||||
| OS | CPU | Memory | Disks | Temperature | Processes/Search | Networks |
|
||||
| ------- | --- | ------ | ----- | ----------- | ---------------- | -------- |
|
||||
| Linux | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||
| Windows | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ |
|
||||
| macOS | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||
|
||||
## Contributors
|
||||
## Contribution
|
||||
|
||||
Contribution is always welcome - just submit a PR! Note that I currently develop and test on stable Rust.
|
||||
|
||||
|
|
|
@ -361,8 +361,6 @@ fn create_config(flag_config_location: Option<&str>) -> error::Result<Config> {
|
|||
OsString::new()
|
||||
};
|
||||
|
||||
debug!("Config path: {:?}", config_path);
|
||||
|
||||
let path = std::path::Path::new(&config_path);
|
||||
|
||||
if let Ok(config_string) = fs::read_to_string(path) {
|
||||
|
|
Loading…
Reference in a new issue