neofetch: clean up

This commit is contained in:
Dylan Araps 2020-10-04 15:18:28 +03:00
parent 9ca24eaa0a
commit 075eb43dd7
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 54 additions and 60 deletions

View File

@ -728,8 +728,7 @@ bar_color_total="distro"
# #
# Default: 'off' # Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off' # Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display # Flags: --memory_display
# --memory_display
# --battery_display # --battery_display
# --disk_display # --disk_display
# #
@ -738,7 +737,6 @@ bar_color_total="distro"
# infobar: 'info [---=======]' # infobar: 'info [---=======]'
# barinfo: '[---=======] info' # barinfo: '[---=======] info'
# off: 'info' # off: 'info'
cpu_display="off"
memory_display="off" memory_display="off"
battery_display="off" battery_display="off"
disk_display="off" disk_display="off"
@ -985,7 +983,7 @@ get_distro() {
elif [[ -f /etc/armbian-release ]]; then elif [[ -f /etc/armbian-release ]]; then
. /etc/armbian-release . /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME ($VERSION)" distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})"
elif [[ -f /etc/siduction-version ]]; then elif [[ -f /etc/siduction-version ]]; then
case $distro_shorthand in case $distro_shorthand in
@ -4946,8 +4944,6 @@ BARS:
--bar_length num Length in spaces to make the bars. --bar_length num Length in spaces to make the bars.
--bar_colors num num Colors to make the bar. --bar_colors num num Colors to make the bar.
Set in this order: elapsed, total Set in this order: elapsed, total
--cpu_display mode Bar mode.
Possible values: bar, infobar, barinfo, off
--memory_display mode Bar mode. --memory_display mode Bar mode.
Possible values: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
--battery_display mode Bar mode. --battery_display mode Bar mode.
@ -5198,7 +5194,6 @@ get_args() {
bar_color_total="$3" bar_color_total="$3"
;; ;;
"--cpu_display") cpu_display="$2" ;;
"--memory_display") memory_display="$2" ;; "--memory_display") memory_display="$2" ;;
"--battery_display") battery_display="$2" ;; "--battery_display") battery_display="$2" ;;
"--disk_display") disk_display="$2" ;; "--disk_display") disk_display="$2" ;;
@ -5336,7 +5331,6 @@ get_args() {
refresh_rate="on" refresh_rate="on"
shell_version="on" shell_version="on"
cpu_display="infobar"
memory_display="infobar" memory_display="infobar"
disk_display="infobar" disk_display="infobar"
cpu_temp="C" cpu_temp="C"