Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastfetch: new app (draft) #2673

Merged
merged 1 commit into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/updates/Fastfetch.sh
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions apps/Fastfetch/description
Original file line number Diff line number Diff line change
@@ -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 <module> --format json
Display help messages: fastfetch --help
Generate config file based on command line arguments: fastfetch --arg1 --arg2 --gen-config
Binary file added apps/Fastfetch/icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/Fastfetch/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions apps/Fastfetch/install
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions apps/Fastfetch/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

purge_packages || exit 1
1 change: 1 addition & 0 deletions apps/Fastfetch/website
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/fastfetch-cli/fastfetch
1 change: 1 addition & 0 deletions etc/categories
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down