Remove checks for $line_wrap
This commit is contained in:
parent
7015860c99
commit
91b9fae44d
1 changed files with 3 additions and 2 deletions
5
neofetch
5
neofetch
|
@ -46,6 +46,7 @@ printinfo () {
|
||||||
info "CPU" cpu
|
info "CPU" cpu
|
||||||
info "GPU" gpu
|
info "GPU" gpu
|
||||||
info "Memory" memory
|
info "Memory" memory
|
||||||
|
prin "sdddddddddddddddddddddddddddddddddddddasdasdasdasd"
|
||||||
|
|
||||||
# info "CPU Usage" cpu_usage
|
# info "CPU Usage" cpu_usage
|
||||||
# info "Disk" disk
|
# info "Disk" disk
|
||||||
|
@ -3345,7 +3346,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable line wrap
|
# Disable line wrap
|
||||||
[ "$line_wrap" == "off" ] && printf "\033[?7l"
|
printf "\033[?7l"
|
||||||
|
|
||||||
# Move cursor to the top
|
# Move cursor to the top
|
||||||
[ "$image" != "off" ] && printf "\033[0H"
|
[ "$image" != "off" ] && printf "\033[0H"
|
||||||
|
@ -3374,7 +3375,7 @@ esac
|
||||||
[ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}H"
|
[ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}H"
|
||||||
|
|
||||||
# Re-enable line wrap
|
# Re-enable line wrap
|
||||||
[ "$line_wrap" == "off" ] && printf "%b%s" "\033[?7h"
|
printf "%b%s" "\033[?7h"
|
||||||
|
|
||||||
# If enabled take a screenshot
|
# If enabled take a screenshot
|
||||||
if [ "$scrot" == "on" ]; then
|
if [ "$scrot" == "on" ]; then
|
||||||
|
|
Loading…
Reference in a new issue