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 # Use basic mode
#basic = false #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 # These are all the components that support custom theming. Note that colour support
@ -103,11 +109,14 @@
#selected_text_color="Black" #selected_text_color="Black"
# Represents the background colour of text that is selected. # 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. # Represents the colour of the lines and text of the graph.
#graph_color="Gray" #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: # Layout - layouts follow a pattern like this:
@ -120,24 +129,24 @@
# The default widget layout: # The default widget layout:
#[[row]] #[[row]]
# ratio=30 # ratio=30
# [[row.child]] # [[row.child]]
# type="cpu" # type="cpu"
#[[row]] #[[row]]
# ratio=40 # ratio=40
# [[row.child]] # [[row.child]]
# ratio=4 # ratio=4
# type="mem" # type="mem"
# [[row.child]] # [[row.child]]
# ratio=3 # ratio=3
# [[row.child.child]] # [[row.child.child]]
# type="temp" # type="temp"
# [[row.child.child]] # [[row.child.child]]
# type="disk" # type="disk"
#[[row]] #[[row]]
# ratio=30 # ratio=30
# [[row.child]] # [[row.child]]
# type="net" # type="net"
# [[row.child]] # [[row.child]]
# type="proc" # type="proc"
# default=true # default=true

View File

@ -164,7 +164,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
[colors] [colors]
# Represents the colour of table headers (processes, CPU, disks, temperature). # 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. # Represents the colour of the label each widget has.
#widget_title_color="Gray" #widget_title_color="Gray"
@ -191,7 +191,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
#border_color="Gray" #border_color="Gray"
# Represents the colour of the border of selected widgets. # Represents the colour of the border of selected widgets.
#highlighted_border_color="Light Blue" #highlighted_border_color="LightBlue"
# Represents the colour of most text. # Represents the colour of most text.
#text_color="Gray" #text_color="Gray"
@ -200,7 +200,7 @@ pub const DEFAULT_CONFIG_CONTENT: &str = r##"
#selected_text_color="Black" #selected_text_color="Black"
# Represents the background colour of text that is selected. # 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. # Represents the colour of the lines and text of the graph.
#graph_color="Gray" #graph_color="Gray"