swap case for ifs
This commit is contained in:
parent
070843d2bf
commit
75a7d2c1b4
1 changed files with 2 additions and 4 deletions
6
neofetch
6
neofetch
|
@ -3155,10 +3155,8 @@ main() {
|
||||||
printf "\033[9999999D"
|
printf "\033[9999999D"
|
||||||
|
|
||||||
# Move cursor to top of ascii art
|
# Move cursor to top of ascii art
|
||||||
case "$image" in
|
[ "$image" != "ascii" ] && [ "$image" != "off" ] && \
|
||||||
"ascii" | "off") ;;
|
printf "\033[0H"
|
||||||
*) printf "\033[0H" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Print the info
|
# Print the info
|
||||||
printinfo
|
printinfo
|
||||||
|
|
Loading…
Reference in a new issue