mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 22:20:18 +00:00
Merge pull request #125 from ClementTsang/fix_config_gen
Fix config gen and chores
This commit is contained in:
commit
481275f61d
2 changed files with 32 additions and 23 deletions
|
@ -59,6 +59,12 @@
|
|||
# Use basic mode
|
||||
#basic = false
|
||||
|
||||
# Use the old network legend style
|
||||
#use_old_network_legend = false
|
||||
|
||||
# Remove space in tables
|
||||
#hide_table_gap = false
|
||||
|
||||
##########################################################
|
||||
|
||||
# These are all the components that support custom theming. Note that colour support
|
||||
|
@ -103,11 +109,14 @@
|
|||
#selected_text_color="Black"
|
||||
|
||||
# Represents the background colour of text that is selected.
|
||||
#selected_bg_color="Cyan"
|
||||
#selected_bg_color="LightBlue"
|
||||
|
||||
# Represents the colour of the lines and text of the graph.
|
||||
#graph_color="Gray"
|
||||
|
||||
# Represents the colours of the battery based on charge
|
||||
#battery_colors = ["red", "yellow", "yellow", "green", "green", "green"]
|
||||
|
||||
##########################################################
|
||||
|
||||
# Layout - layouts follow a pattern like this:
|
||||
|
@ -120,24 +129,24 @@
|
|||
|
||||
# The default widget layout:
|
||||
#[[row]]
|
||||
# ratio=30
|
||||
# [[row.child]]
|
||||
# type="cpu"
|
||||
# ratio=30
|
||||
# [[row.child]]
|
||||
# type="cpu"
|
||||
#[[row]]
|
||||
# ratio=40
|
||||
# [[row.child]]
|
||||
# ratio=4
|
||||
# type="mem"
|
||||
# [[row.child]]
|
||||
# ratio=3
|
||||
# [[row.child.child]]
|
||||
# type="temp"
|
||||
# [[row.child.child]]
|
||||
# type="disk"
|
||||
# ratio=40
|
||||
# [[row.child]]
|
||||
# ratio=4
|
||||
# type="mem"
|
||||
# [[row.child]]
|
||||
# ratio=3
|
||||
# [[row.child.child]]
|
||||
# type="temp"
|
||||
# [[row.child.child]]
|
||||
# type="disk"
|
||||
#[[row]]
|
||||
# ratio=30
|
||||
# [[row.child]]
|
||||
# type="net"
|
||||
# [[row.child]]
|
||||
# type="proc"
|
||||
# default=true
|
||||
# ratio=30
|
||||
# [[row.child]]
|
||||
# type="net"
|
||||
# [[row.child]]
|
||||
# type="proc"
|
||||
# default=true
|
||||
|
|
|
@ -164,7 +164,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
|
|||
[colors]
|
||||
|
||||
# Represents the colour of table headers (processes, CPU, disks, temperature).
|
||||
#table_header_color="Light Blue"
|
||||
#table_header_color="LightBlue"
|
||||
|
||||
# Represents the colour of the label each widget has.
|
||||
#widget_title_color="Gray"
|
||||
|
@ -191,7 +191,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
|
|||
#border_color="Gray"
|
||||
|
||||
# Represents the colour of the border of selected widgets.
|
||||
#highlighted_border_color="Light Blue"
|
||||
#highlighted_border_color="LightBlue"
|
||||
|
||||
# Represents the colour of most text.
|
||||
#text_color="Gray"
|
||||
|
@ -200,7 +200,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
|
|||
#selected_text_color="Black"
|
||||
|
||||
# Represents the background colour of text that is selected.
|
||||
#selected_bg_color="Light Blue"
|
||||
#selected_bg_color="LightBlue"
|
||||
|
||||
# Represents the colour of the lines and text of the graph.
|
||||
#graph_color="Gray"
|
||||
|
|
Loading…
Reference in a new issue