Simple, sleek, and terminal-friendly CAVA (Console-based Audio Visualizer) configuration for a transparent Kitty/Alacritty/terminal setup on KDE/Wayland or X11.
config— main CAVA config file you can drop into~/.config/cava/config.README.md— this file (you are reading it).preview.png— (optional) screenshot used for the preview in this README. Add your own screenshot here.
If you place a screenshot at ./preview.png, it will show up above. To take a screenshot:
- On Wayland (KDE): use Spectacle or
grim/slurpworkflows. - On X11: use
scrotormaim.
Example (X11):
# focus the terminal running cava and capture a selection or window
scrot -u preview.png
# or
maim -s preview.pngExample (Wayland with grim):
grim -g "$(slurp)" preview.pngDrop preview.png in this repo root and push to GitHub to show the preview.
- Smooth bars and adaptive decay tuned for music and system audio.
- Tunable sensitivity and smoothing so it looks good with both quiet and loud sources.
- Transparent-friendly output so it layers well over a blurred terminal background.
- Basic comments in the config to explain each option.
cava(v0.6+ recommended)- ALSA or PulseAudio or pipewire (the config reads whatever your system provides)
- A terminal that supports truecolor and transparency (Kitty, alacritty, or konsole with transparency)
- Create the config directory (if not present):
mkdir -p ~/.config/cava- Copy the
configfile into place:
cp config ~/.config/cava/config- Run cava with the config (default reads
~/.config/cava/configautomatically):
# explicit path
cava -p ~/.config/cava/config
# or just
cavaIf you use PipeWire/PulseAudio and cava fails to find input, you may need to configure a capture source. See Troubleshooting below.
sensitivity— how responsive the bars are to quiet sounds. Increase for more activity during quiet audio.framerate— smoothness of the visualizer (lower uses less CPU).bars/bands— number and look of vertical bars.method— FFT size and windowing method (affects accuracy vs performance).colors— the color palette used for the bars.background/foreground— used for terminals that support alternate palette; not all terminals obey these.
(Full comments live inside the config file.)
- Use a blurred terminal background (KWin blur or a compositor) so CAVA feels like it's floating.
- Match the terminal font and line height so bars align nicely with your terminal grid.
- If you want pixel-perfect transparency on Wayland, run your terminal as a native Wayland client (Kitty/Alacritty support this).
-
No audio input / "no device found": make sure your audio stack (PulseAudio/pipewire/ALSA) is running and that cava is allowed to capture a monitor or source. On Pulse/pipewire you may need to create a loopback sink or use
parecas input. -
Bars too noisy / too quiet: tweak
sensitivityandgainto taste. -
Bad performance: lower
framerateand reducebars/bands.
- Increase smoothing for slow-moving visuals.
- Add more bands for a denser visual.
- Use
gradientor customcolorsarrays for a neon look.
(See commented examples inside config.)
Built from community-tested settings with tweaks for transparency and KDE look.
MIT — feel free to use and adapt. Drop a star if you like it.
Send a PR with your tweaks, a short note explaining what you changed, and a preview image placed as preview.png in the PR branch.
