Reorder / rearrange with common first and related grouped together

term & term_font are related to shell so should be together.

CPU & memory are common fields. Putting them above desktop environment
and windows manager allows us to easily compare between hosts where
there is no running DE/WM such as servers or VMs.

GPU is related to resolution so group those together also.
This commit is contained in:
Haw Loeung 2024-02-28 16:04:17 +11:00
parent ccd5d9f526
commit 55849942d0
No known key found for this signature in database
GPG key ID: F44EEA5398FF1996

View file

@ -62,17 +62,17 @@ print_info() {
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "Memory" memory
info "GPU" gpu
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "Disk" disk
@ -5454,18 +5454,18 @@ get_args() {
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "Memory" memory
info "GPU" gpu
info "GPU Driver" gpu_driver
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "GPU Driver" gpu_driver
info "Memory" memory
info "Disk" disk
info "Battery" battery