swap case for ifs
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user