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