From 9a5d6168a1e9060f07db3289e38e66e21733a7d2 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Tue, 19 Apr 2022 15:52:01 +0300 Subject: [PATCH] fix retarted neofetch and add new sysvars --- LjinuxRoot/bin/neofetch.py | 6 ++++-- ljinux_source.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/LjinuxRoot/bin/neofetch.py b/LjinuxRoot/bin/neofetch.py index 2339b558..00b39f4b 100644 --- a/LjinuxRoot/bin/neofetch.py +++ b/LjinuxRoot/bin/neofetch.py @@ -28,8 +28,8 @@ print( """\033[32m `.::///+:/-. --///+//-:`` {}@{} \033[0m \033[32m `+oooooooooooo: `+oooooooooooo: \033[0m --------- -\033[32m /oooo++//ooooo: ooooo+//+ooooo. \033[0m \033[31mOS\033[0m: \033[33mLjinux 0.3.0\033[0m -\033[32m `+ooooooo:-:oo- +o+::/ooooooo: \033[0m \033[31mHost\033[0m: Raspberry Pi Pico +\033[32m /oooo++//ooooo: ooooo+//+ooooo. \033[0m \033[31mOS\033[0m: \033[33mLjinux {}\033[0m +\033[32m `+ooooooo:-:oo- +o+::/ooooooo: \033[0m \033[31mHost\033[0m: {} \033[32m `:oooooooo+`` `.oooooooo+- \033[0m \033[31mCircuitPython\033[0m: {} \033[32m `:++ooo/. :+ooo+/.` \033[0m \033[31mUptime\033[0m: {} \033[91m ...` `.----.` ``.. \033[0m \033[31mPackages\033[0m: 0 () @@ -52,6 +52,8 @@ """.format( ljinux.based.system_vars["USER"], ljinux.based.system_vars["HOSTNAME"], + ljinux.based.system_vars["VERSION"], + ljinux.based.system_vars["BOARD"], ljinux.based.system_vars["IMPLEMENTATION"], uptimestr, Ccpu, diff --git a/ljinux_source.py b/ljinux_source.py index 36d9ef87..5f2e623f 100644 --- a/ljinux_source.py +++ b/ljinux_source.py @@ -809,6 +809,7 @@ class based: "HOSTNAME": "pico", "TERM": "xterm-256color", "LANG": "en_GB.UTF-8", + "BOARD": board.board_id.replace("_"," "), "IMPLEMENTATION": ".".join(map(str, list(implementation.version))), }