mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-10-23 00:03:58 +02:00
* add no key setting * do it here instead of in main loop * add a warning * docs: update a bunch of docs with features * linux-only test * oop * skip field check for other os * oop * easier way of doing it * use dead code * oop * huh guess I don't need it
1.1 KiB
1.1 KiB
Disk Table
Columns
You can configure which columns are shown by the disk table widget by setting the columns
setting:
[disk]
# Pick which columns you want to use in any order.
columns = ["Disk", "Mount", "Used", "Free", "Total", "Used%", "R/s", "W/s"]
Filtering Entries
You can filter out what entries to show by configuring [disk.name_filter]
and [disk.mount_filter]
to filter by name and mount point respectively. In particular,
you can set a list of things to filter with by setting list
, and configure how that list
is processed with the other options.
For example, here we are ignoring any entry with a name that matches /dev/sda<NUMBERS>
, or specifically /dev/nvme0n1p2
.
[disk.name_filter]
# Whether to ignore any matches. Defaults to true.
is_list_ignored = true
# A list of filters to try and match.
list = ["/dev/sda\\d+", "/dev/nvme0n1p2"]
# Whether to use regex. Defaults to false.
regex = true
# Whether to be case-sensitive. Defaults to false.
case_sensitive = false
# Whether to be require matching the whole word. Defaults to false.
whole_word = false