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 0000000000..1e7507a64a Binary files /dev/null and b/apps/Fastfetch/icon-24.png differ diff --git a/apps/Fastfetch/icon-64.png b/apps/Fastfetch/icon-64.png new file mode 100644 index 0000000000..825e2fe2f0 Binary files /dev/null and b/apps/Fastfetch/icon-64.png differ 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