From b030bd6751416e580f37a7ccdd0e85b1f5a17302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 25 May 2024 15:11:24 +0800 Subject: [PATCH] README: add example of FIGlet text logo [ci skip] --- .github/ISSUE_TEMPLATE/feature_request.md | 18 +----------------- README.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 2a1749ce7..4fe8f12f7 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,23 +7,7 @@ assignees: '' --- -## Before requesting a new feature - -* A lot of features are not enabled by default. Please try `fastfetch --list-modules` and `fastfetch -c all.jsonc` to see if it has been supported -* Fastfetch supports `Command` module, which can be used to grab output from a custom shell script. Please check if it fits your needs - -```jsonc -// ~/.config/fastfetch/fastfetch.jsonc -{ - "modules": [ - { - "type": "command", - "text": "/path/to/your/script", - "key": "Feature Title" - } - ] -} -``` +Be sure to read [FAQ](https://github.com/fastfetch-cli/fastfetch?tab=readme-ov-file#faq) before submitting a new issue. ## Wanted features: diff --git a/README.md b/README.md index 814084c89..5616fd801 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Replace sudo with doas depending on what you use. [See also if fastfetch has been packaged for your favorite Linux distro](#Packaging). -If fastfetch is not packaged for your distro or an outdated version is packaged, [linuxbrew](https://brew.sh/) is a good alternate: `brew install fastfetch` +If fastfetch is not packaged for your distro or an outdated version is packaged, [linuxbrew](https://brew.sh/) is a good alternative: `brew install fastfetch` ### macOS @@ -155,6 +155,15 @@ See `fastfetch -h format` for basic usage. For module specific formattion, see ` Try `fastfetch -l /path/to/logo`. See [logo documentation](https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options) for detail. +If you just want to display distro name in [FIGlet text](https://github.com/pwaller/pyfiglet) + +```bash +# install pyfiglet and jq first +pyfiglet -s -f small_slant $(fastfetch -s os --format json | jq -r '.[0].result.name') && fastfetch -l none +``` + +![image](https://github.com/fastfetch-cli/fastfetch/assets/6134068/6466524e-ab8c-484f-848d-eec7ddeb7df2) + ### Q: Fastfetch runs in white and black on shell startup. Why? This issue usually happens when using fastfetch with `p10k`. There are known incompatibility between fastfetch and p10k instant prompt.