Update and rename xinfo.py to xfetch.py

This commit is contained in:
everest 2022-03-30 15:39:10 +00:00 committed by GitHub
parent a9a171f3ea
commit 9789a0a27d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# xinfo is a simple neofetch alternative that aims to make modification, should the user know basic python, very easy.
# xfetch is a simple neofetch alternative that aims to make modification, should the user know basic python, very easy.
# Please refer to the README.md if you are looking to install
import platform
@ -14,7 +14,7 @@ xascii = '''___ ___
my_system = platform.uname()
print(xascii) # Prints the X ascii art
print("xinfo") # Prints xinfo
print("xfetch") # Prints xinfo
print("===============") # Prints the separator line
print(f"OS: {my_system.system}") # Prints the OS
print(f"Host: {my_system.node}") # Prints the user's hostname