Last active
March 26, 2026 14:56
-
-
Save khoadng/3b881d56c4b935466b1f2663ed3aea64 to your computer and use it in GitHub Desktop.
TyphonOS neofetch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:typhon_api/typhon_api.dart'; | |
| void main(SysCall sys) { | |
| final user = sys.env['USER'] ?? 'unknown'; | |
| final host = sys.hostname; | |
| final home = sys.env['HOME'] ?? '/'; | |
| final pid = sys.pid; | |
| final uid = sys.uid; | |
| final title = '$user@$host'; | |
| sys.stdout.writeln(''); | |
| sys.stdout.writeln(' ╔╦╦╦╦╦╗'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ $title'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ ──────────────'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ OS: TyphonOS'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ Shell: typhon-sh'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ User: $user (uid $uid)'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ PID: $pid'); | |
| sys.stdout.writeln(' ╠╬╬╬╬╬╣ Home: $home'); | |
| sys.stdout.writeln(' ╚╩╩╩╩╩╝'); | |
| sys.stdout.writeln(''); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment