diff --git a/xinfo.py b/xinfo.py new file mode 100644 index 0000000..062af48 --- /dev/null +++ b/xinfo.py @@ -0,0 +1,23 @@ +# xinfo 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 + +xascii = '''___ ___ +\ \ / / + \ V / + > < + / . \ +/__/ \__\ ''' + +my_system = platform.uname() + +print(xascii) # Prints the X ascii art +print("xinfo") # 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 +print(f"Kernel: {my_system.release}") # Prints the kernel's version +print(f"Architecture: {my_system.machine}") # Prints the CPU's architecture + +# xinfo is licensed under the GNU GPL