diff --git a/pkg.info b/pkg.info index 555af82..9b27d90 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: neofetch description: A command-line system information tool written in bash 3.2+ version: 7.1.0 +revision: 2 url: https://github.com/dylanaraps/neofetch license: MIT architecture: any diff --git a/source-files/tide_support.patch b/source-files/0001-Add-Tide-Linux-ascii-art.patch similarity index 73% rename from source-files/tide_support.patch rename to source-files/0001-Add-Tide-Linux-ascii-art.patch index 6d52416..b7ca673 100644 --- a/source-files/tide_support.patch +++ b/source-files/0001-Add-Tide-Linux-ascii-art.patch @@ -1,13 +1,22 @@ +From 8cb0780026a9dfe42fc04e04a7ca2ee93b54da9f Mon Sep 17 00:00:00 2001 +From: EnumDev +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 -index 48b96d21..2360b4a6 100755 +index 1e4b5646..49eb348b 100755 --- a/neofetch +++ b/neofetch -@@ -11370,6 +11370,25 @@ ssssssssssssso/-` `-/osssssssssssss +@@ -10351,6 +10351,25 @@ ssssssssssssso/-` `-/osssssssssssss `osssssssssssssssssssso` EOF ;; + "Tide"*) -+ set_colors 4 6 ++ set_colors 27 39 + read -rd '' ascii_data <<'EOF' +${c1} @@@@ ${c1}@@@${c2}* + ${c1}@@${c2}~~~~${c1}@@ ${c1}@@${c2}~~~ @@ -28,3 +37,6 @@ index 48b96d21..2360b4a6 100755 *) case $kernel_name in +-- +2.51.0 + diff --git a/source-files/0002-Add-BPM-support.patch b/source-files/0002-Add-BPM-support.patch new file mode 100644 index 0000000..90d8644 --- /dev/null +++ b/source-files/0002-Add-BPM-support.patch @@ -0,0 +1,24 @@ +From a00a17024d613f396a2e50a7d361c9237e9e56a9 Mon Sep 17 00:00:00 2001 +From: EnumDev +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 + diff --git a/source.sh b/source.sh index e1ce1fc..4cba329 100644 --- a/source.sh +++ b/source.sh @@ -11,7 +11,10 @@ prepare() { wget "$DOWNLOAD" 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