mirror of
https://github.com/ClementTsang/bottom
synced 2025-02-17 05:38:27 +00:00
A large migration of documentation over to mkdocs, and some rewrites. Some stuff (install information, basic supported systems, contributors, thanks) are still staying in README.md, and CONTRIBUTING.md is essentially duplicated right now. However, stuff like configuration and key/mouse bindings are now moved to mkdocs. Some parts are still a bit WIP - it is definitely not done (documentation never seems to be...). However, it should be "good enough" for now, and I'm much happier working with the documentation in this form than trying to scroll through a giant endless README.md file. It also works much better for adding new documentation.
3.6 KiB
3.6 KiB
Theming
!!! Warning
This section is in progress, and is just copied from the old documentation.
The config file can be used to set custom colours for parts of the application under the [colors]
object. The following labels are customizable with strings that are hex colours, RGB colours, or specific named colours.
Supported named colours are one of the following strings: Reset, Black, Red, Green, Yellow, Blue, Magenta, Cyan, Gray, DarkGray, LightRed, LightGreen, LightYellow, LightBlue, LightMagenta, LightCyan, White
.
Labels | Details | Example |
---|---|---|
Table header colours | Colour of table headers | table_header_color="255, 255, 255" |
CPU colour per core | Colour of each core. Read in order. | cpu_core_colors=["#ffffff", "white", "255, 255, 255"] |
Average CPU colour | The average CPU color | avg_cpu_color="White" |
All CPUs colour | The colour for the "All" CPU label | all_cpu_color="White" |
RAM | The colour RAM will use | ram_color="#ffffff" |
SWAP | The colour SWAP will use | swap_color="#ffffff" |
RX | The colour rx will use | rx_color="#ffffff" |
TX | The colour tx will use | tx_color="#ffffff" |
Widget title colour | The colour of the label each widget has | widget_title_color="#ffffff" |
Border colour | The colour of the border of unselected widgets | border_color="#ffffff" |
Selected border colour | The colour of the border of selected widgets | highlighted_border_color="#ffffff" |
Text colour | The colour of most text | text_color="#ffffff" |
Graph colour | The colour of the lines and text of the graph | graph_color="#ffffff" |
Cursor colour | The cursor's colour | cursor_color="#ffffff" |
Selected text colour | The colour of text that is selected | scroll_entry_text_color="#ffffff" |
Selected text background colour | The background colour of text that is selected | scroll_entry_bg_color="#ffffff" |
High battery level colour | The colour used for a high battery level (100% to 50%) | high_battery_color="green" |
Medium battery level colour | The colour used for a medium battery level (50% to 10%) | medium_battery_color="yellow" |
Low battery level colour | The colour used for a low battery level (10% to 0%) | low_battery_color="red" |