Merge pull request #125 from ClementTsang/fix_config_gen

Fix config gen and chores
This commit is contained in:
Clement Tsang 2020-04-22 17:43:29 -04:00 committed by GitHub
commit 481275f61d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 23 deletions

View file

@ -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

View file

@ -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"