diff --git a/swline b/swline new file mode 100755 index 0000000..df685ca --- /dev/null +++ b/swline @@ -0,0 +1,9 @@ +#!/bin/env python3 +import os +import sys +import pwd +import platform +username = pwd.getpwuid(os.getuid()).pw_name +session = "@" +status = "\\[\\033[34m\\] UwU" if int(sys.argv[1]) == 0 else (f"\\[\\033[31m\\] >m<" if int(sys.argv[1]) == 127 else f"\\[\\033[31m\\] OwO {sys.argv[1]}") +print(f"\\[\\033[01;32m\\]{username} {session} {platform.node()}\\n\\[\\033[01;34m\\]\\w\\[\\033[00m\\]{status} \\[\\033[00m\\]\\[\\033[32m\\]$\\[\\033[00m\\] ")