From 01aed343a67b294b0435ee696c87c3e89763cd4c Mon Sep 17 00:00:00 2001 From: etvx86 <64978924+EnterTheVoid-x86@users.noreply.github.com> Date: Sun, 18 Jun 2023 00:15:38 -0400 Subject: [PATCH 1/3] add phyOS logo --- neofetch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/neofetch b/neofetch index 9da08426..9fa05b5e 100755 --- a/neofetch +++ b/neofetch @@ -11895,6 +11895,31 @@ ${c1} /🐦🐦🐦$ /🐦/🐦 /🐦🐦🐦 /🐦🐦🐦 |__/ |__|__/ \__/\_______/\______/ \______/ . EOF ;; + + "phyOS"*) + set_colors 33 33 7 1 + read -rd '' ascii_data <<'EOF' +${c1} ' +.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^. + :777777777777777777777777777777^~7777: + .~~~~~~~~~~~~~~~~~~~~~^~7777!:!777!. + ~7!!!!!!!!!!!!!!!!!^:!777~^!777~ + ^77777!!!!!!!!!7!^^7777^^7777^ + ^7777~.~~~~^. .~7777^~7777: + :!777~^!777~. !777!:~777!: + .!777!:~777!:~77~:!777!. + ~777!^~7777:^~^!777~ + ^7777^^7777^^7777^ + :7777~^!7777777: + .!777!:!7777!. + .~777!:~77~. + ~7777^~~ + ^7777. + :77: + .. +EOF + ;; + "PNM Linux"* | "WHPNM Linux"*) set_colors 33 9 15 202 From 914890b4b04c8a834b99f19eace08d22f011dafe Mon Sep 17 00:00:00 2001 From: OldWorldOrdr Date: Mon, 26 Jun 2023 14:41:20 -0400 Subject: [PATCH 2/3] fix cargo package count --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9fa05b5e..a51efdce 100755 --- a/neofetch +++ b/neofetch @@ -2054,7 +2054,7 @@ get_packages() { has flatpak && tot flatpak list has spm && tot spm list -i has puyo && dir ~/.puyo/installed - has cargo && dir "${CARGO_HOME:-$HOME/.cargo}/bin/"* + has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" # Snap hangs if the command is run without the daemon running. # Only run snap if the daemon is also running. From 40ea2042238fbd8924769048c557dbac294fc501 Mon Sep 17 00:00:00 2001 From: OldWorldOrdr Date: Tue, 27 Jun 2023 14:26:17 -0400 Subject: [PATCH 3/3] make cargo run on all systems --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index a51efdce..210c0938 100755 --- a/neofetch +++ b/neofetch @@ -1946,7 +1946,8 @@ get_packages() { } # OS-independent package managers. - has pipx && tot pipx list --short + has pipx && tot pipx list --short + has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" # OS-specific package managers. case $os in @@ -2054,7 +2055,6 @@ get_packages() { has flatpak && tot flatpak list has spm && tot spm list -i has puyo && dir ~/.puyo/installed - has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" # Snap hangs if the command is run without the daemon running. # Only run snap if the daemon is also running.