From 0bf7af3b03c6457eafbd8fb4bab2602b82af0d6b Mon Sep 17 00:00:00 2001 From: Mathias Date: Mon, 21 Sep 2026 22:56:30 +0200 Subject: [PATCH] re-introduce fastfetch --- term/.bashrc | 4 ++++ term/.config/fastfetch/fastfetch_demo.sh | 6 ++++++ term/.config/fish/config.fish | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 term/.config/fastfetch/fastfetch_demo.sh diff --git a/term/.bashrc b/term/.bashrc index d365c5e..8e6790b 100644 --- a/term/.bashrc +++ b/term/.bashrc @@ -42,3 +42,7 @@ export PATH="$HOME/.local/bin:$PATH" if [ -f "$HOME/.config/themes/current/theme.env.sh" ]; then . "$HOME/.config/themes/current/theme.env.sh" fi + +if command -v fastfetch >/dev/null 2>&1; then + fastfetch --config ~/.config/fastfetch/config.jsonc +fi diff --git a/term/.config/fastfetch/fastfetch_demo.sh b/term/.config/fastfetch/fastfetch_demo.sh new file mode 100755 index 0000000..91e5ad8 --- /dev/null +++ b/term/.config/fastfetch/fastfetch_demo.sh @@ -0,0 +1,6 @@ +#!/bin/bash +for f in ~/.config/fastfetch/*.jsonc; do + echo "=== $f ===" + fastfetch --config "$f" + read -p "Enter for next..." +done diff --git a/term/.config/fish/config.fish b/term/.config/fish/config.fish index 98b9bb6..e4225ac 100644 --- a/term/.config/fish/config.fish +++ b/term/.config/fish/config.fish @@ -9,7 +9,9 @@ set -gx OPENCODE_ENABLE_EXA 1 if status is-interactive starship init fish | source set -g fish_prompt_pwd_dir_length 0 - # fastfetch + if type -q fastfetch + fastfetch --config ~/.config/fastfetch/config.jsonc + end end