Yes! PewDiePie’s Arch Linux setup with Alacritty and Neofetch is pretty popular, and the animated ASCII art effect is a cool touch. Here’s how you can achieve something similar:
What you saw:
- Alacritty terminal emulator (fast, GPU-accelerated)
- Neofetch for system info + ASCII art
- Animated ASCII art (the key part)
How to get animated ASCII art in Neofetch
By default, Neofetch shows static ASCII art. To animate it, people usually combine Neofetch with a tool or script that cycles through frames of ASCII art or uses terminal animation tricks.
Common methods to animate ASCII art in terminal:
1. Using cacafire or cacaview from libcaca
libcaca is a library that can display colored ASCII animations.
cacafire is a demo that shows a fire animation in ASCII.
- You can run
cacafire alongside or before Neofetch for cool effects.
Install libcaca:
sudo pacman -S libcaca
Run:
cacafire
2. Using asciinema or ttygif to record and replay animations (not live)
3. Using a custom script with watch or while loop to cycle ASCII frames
You can create a script that prints different ASCII frames in a loop, clearing the screen each time.
Example (basic idea):
while true; do
clear
cat frame1.txt
sleep 0.2
clear
cat frame2.txt
sleep 0.2
done
4. Using neofetch with a custom ASCII art script that updates
Neofetch itself doesn’t support animation natively, but you can:
- Replace the static ASCII art with a script that outputs different frames.
- Or run neofetch repeatedly with different ASCII art files.
How PewDiePie might do it
He might be using a custom script or patched neofetch that cycles through frames, or a terminal multiplexer like tmux or byobu with a script running alongside neofetch.
Step-by-step to try a simple animation with neofetch:
- Install Alacritty and Neofetch:
sudo pacman -S alacritty neofetch
- Create multiple ASCII art frames:
Save a few ASCII art files, e.g., frame1.txt, frame2.txt, etc.
- Create a script to animate:
#!/bin/bash
while true; do
clear
neofetch --ascii "$(cat frame1.txt)"
sleep 0.3
clear
neofetch --ascii "$(cat frame2.txt)"
sleep 0.3
done
Note: neofetch doesn’t have a --ascii option to read from a file directly, but you can modify the neofetch config or replace the ASCII art in the config file dynamically.
Alternative: Use lolcat + cowsay + watch for fun animations
Example:
watch -n 0.5 'cowsay "PewDiePie" | lolcat'
Summary
- Neofetch itself is static.
- Animated ASCII art requires external tools or scripts.
libcaca tools like cacafire provide built-in ASCII animations.
- Custom scripts can cycle ASCII frames.
- PewDiePie’s setup likely uses a custom script or patched neofetch.
If you want, I can help you write a simple animation script or show you how to customize neofetch’s ASCII art! Just ask.