Change ascii colors and add BPM support
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: neofetch
|
name: neofetch
|
||||||
description: A command-line system information tool written in bash 3.2+
|
description: A command-line system information tool written in bash 3.2+
|
||||||
version: 7.1.0
|
version: 7.1.0
|
||||||
|
revision: 2
|
||||||
url: https://github.com/dylanaraps/neofetch
|
url: https://github.com/dylanaraps/neofetch
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -1,13 +1,22 @@
|
|||||||
|
From 8cb0780026a9dfe42fc04e04a7ca2ee93b54da9f Mon Sep 17 00:00:00 2001
|
||||||
|
From: EnumDev <[email protected]>
|
||||||
|
Date: Thu, 25 Sep 2025 10:48:48 +0300
|
||||||
|
Subject: [PATCH 1/2] Add Tide Linux ascii art
|
||||||
|
|
||||||
|
---
|
||||||
|
neofetch | 19 +++++++++++++++++++
|
||||||
|
1 file changed, 19 insertions(+)
|
||||||
|
|
||||||
diff --git a/neofetch b/neofetch
|
diff --git a/neofetch b/neofetch
|
||||||
index 48b96d21..2360b4a6 100755
|
index 1e4b5646..49eb348b 100755
|
||||||
--- a/neofetch
|
--- a/neofetch
|
||||||
+++ b/neofetch
|
+++ b/neofetch
|
||||||
@@ -11370,6 +11370,25 @@ ssssssssssssso/-` `-/osssssssssssss
|
@@ -10351,6 +10351,25 @@ ssssssssssssso/-` `-/osssssssssssss
|
||||||
`osssssssssssssssssssso`
|
`osssssssssssssssssssso`
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
+ "Tide"*)
|
+ "Tide"*)
|
||||||
+ set_colors 4 6
|
+ set_colors 27 39
|
||||||
+ read -rd '' ascii_data <<'EOF'
|
+ read -rd '' ascii_data <<'EOF'
|
||||||
+${c1} @@@@ ${c1}@@@${c2}*
|
+${c1} @@@@ ${c1}@@@${c2}*
|
||||||
+ ${c1}@@${c2}~~~~${c1}@@ ${c1}@@${c2}~~~
|
+ ${c1}@@${c2}~~~~${c1}@@ ${c1}@@${c2}~~~
|
||||||
@@ -28,3 +37,6 @@ index 48b96d21..2360b4a6 100755
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
case $kernel_name in
|
case $kernel_name in
|
||||||
|
--
|
||||||
|
2.51.0
|
||||||
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
From a00a17024d613f396a2e50a7d361c9237e9e56a9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: EnumDev <[email protected]>
|
||||||
|
Date: Thu, 25 Sep 2025 11:20:48 +0300
|
||||||
|
Subject: [PATCH 2/2] Add BPM support
|
||||||
|
|
||||||
|
---
|
||||||
|
neofetch | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/neofetch b/neofetch
|
||||||
|
index 49eb348b..eb101bb2 100755
|
||||||
|
--- a/neofetch
|
||||||
|
+++ b/neofetch
|
||||||
|
@@ -1504,6 +1504,7 @@ get_packages() {
|
||||||
|
has alps && tot alps showinstalled
|
||||||
|
has butch && tot butch list
|
||||||
|
has mine && tot mine -q
|
||||||
|
+ has bpm && tot bpm list -n
|
||||||
|
|
||||||
|
# Counting files/dirs.
|
||||||
|
# Variables need to be unquoted here. Only Bedrock Linux is affected.
|
||||||
|
--
|
||||||
|
2.51.0
|
||||||
|
|
||||||
@@ -11,7 +11,10 @@ prepare() {
|
|||||||
wget "$DOWNLOAD"
|
wget "$DOWNLOAD"
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||||
|
|
||||||
patch "$BPM_SOURCE"/neofetch tide_support.patch
|
cd "$BPM_SOURCE"
|
||||||
|
# Add Tide Linux ascii art and BPM support
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/0001-Add-Tide-Linux-ascii-art.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/0002-Add-BPM-support.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user