From 12c225aaec0aa39108b7d4195ac42ccff85328a0 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Sat, 2 Nov 2024 15:53:15 -0400 Subject: [PATCH] Fastfetch: new app --- .github/workflows/updates/Fastfetch.sh | 7 +++++++ apps/Fastfetch/description | 9 +++++++++ apps/Fastfetch/icon-24.png | Bin 0 -> 1976 bytes apps/Fastfetch/icon-64.png | Bin 0 -> 1382 bytes apps/Fastfetch/install | 12 ++++++++++++ apps/Fastfetch/uninstall | 3 +++ apps/Fastfetch/website | 1 + etc/categories | 1 + 8 files changed, 33 insertions(+) create mode 100755 .github/workflows/updates/Fastfetch.sh create mode 100644 apps/Fastfetch/description create mode 100644 apps/Fastfetch/icon-24.png create mode 100644 apps/Fastfetch/icon-64.png create mode 100755 apps/Fastfetch/install create mode 100755 apps/Fastfetch/uninstall create mode 100644 apps/Fastfetch/website diff --git a/.github/workflows/updates/Fastfetch.sh b/.github/workflows/updates/Fastfetch.sh new file mode 100755 index 0000000000..1e875bb74b --- /dev/null +++ b/.github/workflows/updates/Fastfetch.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +version=$(get_release fastfetch-cli/fastfetch) +armhf_url="https://github.com/fastfetch-cli/fastfetch/releases/download/${version}/fastfetch-linux-armv7l.deb" +arm64_url="https://github.com/fastfetch-cli/fastfetch/releases/download/${version}/fastfetch-linux-aarch64.deb" + +source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh diff --git a/apps/Fastfetch/description b/apps/Fastfetch/description new file mode 100644 index 0000000000..f2a6d9ea8f --- /dev/null +++ b/apps/Fastfetch/description @@ -0,0 +1,9 @@ +Fastfetch is a neofetch-like tool for fetching system information and displaying it prettily. +It is written mainly in C, with performance and customizability in mind. + +To run in a terminal (with default options): fastfetch + +Run with all supported modules and find what interests you: fastfetch -c all.jsonc +Find all data that fastfetch detects: fastfetch -s --format json +Display help messages: fastfetch --help +Generate config file based on command line arguments: fastfetch --arg1 --arg2 --gen-config diff --git a/apps/Fastfetch/icon-24.png b/apps/Fastfetch/icon-24.png new file mode 100644 index 0000000000000000000000000000000000000000..1e7507a64ae8d19a22f5a084a18a7c92f0f223b2 GIT binary patch literal 1976 zcmZ{lc~H|y7RP@H1SCL=F(?X*;TCcb7+svmDffU#kVp(8Cj5dVkjoGVhbSnz%6&M< z00wmwbX7cd*1{b?kpLzLGQxN;1Bi@r$fXI15RUyZRkKz5$9BEfUH#tYTiso+tKPYY z@E}v=#VasB)vxF84s+e@=bJ%ihPEZYz74-Ife z8DObTBQ6ro=1~&O@*=GJk+&(8#m9Zi&)BuMQ$@sGU+&RUL`Pr#+Db#~d;3^ktic|- zDqpofy~*_}OYP`jbLZgh?3)+Nx+l%`b`1V)|GCBzMFVmqI`{F9>-)^huw9iK+wG2Z zzVd|gn)B}wR+CQ@33etp`S{>uG?PAuA)IXBC({m{yeaa0)Vt(&)N)er(o@NsQTGnS zg>Nbp)f4?5uKNhs0lEOZ#z~Zy%c-CUVry@tbf7s47aSTW%e+_dbYq3+c1AY-L`NA3lH3voWZ^EuKG;|{qKqj5dIvDn?9~zBg@(t+P|!rF=?@3_~CgWEXsOd9Hf6_3@1}W4(73KiBQ2hU)9<+gN|)=j&OL zoiN*ec3xSaQRX*Zl+bD6cqfPTC{tr&BqKT^GhKY=O7Z9CwVD@~HGP+rKb=2!Cfm`$ z77mA7Y&B;@@4J8Z*2=PO`HO0KLAAW79UdMO^4MRy5@9eHW&=8gPK`Spy}G(OGBV6h z1PORYZ*TAG*RR*t*H=|lSz20d#Gpau!MdxL-o1OPR;wPh{G2Wo5ebfTI(>3-a(sMz zVq)Uu%a@Lhju?n!F?xG@RI1OXPi2{!nmRZ**xA_`7#M6o83lR}a#Go^d*!Q3+SO&9 zYI?M~H2YAb@3t*y8ylP4+}!;9{LIWuGc&V5%J$)hITNjCKPgKWM%z}FbSrCPdFj)L z`g!$7dH&>+vnLZnJUl$+=jR6o2JG$aL%s0R@^kabLbakm-F^Pc+ZG64oO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&sIJh+nw}@G=Gx%@cbsunU6^he)rXnw{Gc^-~Nj&IDh(x zq~EvsKj26z zVYOQ20npLWfu^P=*^3*EMs#*|?kNCtFhUwofCkLY&Vpf>yfi>mF$MyP9&*Ul07`>I z0Rljt28@i1K&R7X?Du#)a5|kryRWYg7KPDl{D8|Od()Pur zJ}k?|vzg1~68TR}O=b1xI4)(4VjIh{Y4=7NKpK#PaU7TR;2|6ir?i8?%r8npp-{@b oZ2n3Z$8l5#5CsST0wBfy1G0^$-~OFR8~^|S07*qoM6N<$f-m}Fa{vGU literal 0 HcmV?d00001 diff --git a/apps/Fastfetch/install b/apps/Fastfetch/install new file mode 100755 index 0000000000..422472730b --- /dev/null +++ b/apps/Fastfetch/install @@ -0,0 +1,12 @@ +#!/bin/bash + +version=2.28.0 + +case "$arch" in +"64") install_packages https://github.com/fastfetch-cli/fastfetch/releases/download/${version}/fastfetch-linux-aarch64.deb || exit 1 ;; +"32") install_packages https://github.com/fastfetch-cli/fastfetch/releases/download/${version}/fastfetch-linux-armv7l.deb || exit 1 ;; +*) error "Failed to detect OS CPU architecture! Something is very wrong." ;; +esac + +fastfetch +true diff --git a/apps/Fastfetch/uninstall b/apps/Fastfetch/uninstall new file mode 100755 index 0000000000..238a43e0be --- /dev/null +++ b/apps/Fastfetch/uninstall @@ -0,0 +1,3 @@ +#!/bin/bash + +purge_packages || exit 1 diff --git a/apps/Fastfetch/website b/apps/Fastfetch/website new file mode 100644 index 0000000000..d9352fe5b3 --- /dev/null +++ b/apps/Fastfetch/website @@ -0,0 +1 @@ +https://github.com/fastfetch-cli/fastfetch diff --git a/etc/categories b/etc/categories index 8e9cd856ff..2dadfcda87 100644 --- a/etc/categories +++ b/etc/categories @@ -59,6 +59,7 @@ Electron Fiddle|Programming Epiphany|Internet/Browsers ExaGear|Tools/Emulation Falkon|Internet/Browsers +Fastfetch|System Management FF Multi Converter|Tools Filezilla|Internet Firefox Rapid Release|Internet/Browsers