diff options
author | Justin Martin <jaming@protonmail.com> | 2022-10-15 15:08:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 15:08:48 -0400 |
commit | bd35bbdc9c539e035bc4bf91c799d85e566a6921 (patch) | |
tree | 7de767f70396f4fb51d1fb2d0d011e8cd6350744 /src/options.rs | |
parent | 41970d9c64ba0a442cd8314456785b4bb6c2f7b7 (diff) |
feature: add gpu ram collector for nvidia feature flag (#794)
* add gpu ram collector for nvidia feature flag
* add row for TX in basic layout
* size gpu point_vec
* use vec for mem basic widget drawing
* remove to_owned
* code review: change mem tuple to struct with cfg fields, rename mem_basic ratio and use vec macro for layout
* build on freebsd
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 0e05e132..d85632c9 100644 --- a/src/options.rs +++ b/src/options.rs @@ -199,6 +199,7 @@ pub struct ConfigColours { pub ram_color: Option<String>, pub swap_color: Option<String>, pub arc_color: Option<String>, + pub gpu_core_colors: Option<Vec<String>>, pub rx_color: Option<String>, pub tx_color: Option<String>, pub rx_total_color: Option<String>, // These only affect basic mode. |