## Audio visualizer
{ pkgs, theme, ... }:

{
  catppuccin.cava = {
    enable = true;
    flavor = theme.flavor;
  };

  programs.cava = {
    enable = true;
    package = pkgs.cava;
  };

  xdg.desktopEntries.cava = {
    name = "Cava";
    genericName = "Audio visualizer";
    terminal = true;
    exec = "${pkgs.cava}/bin/cava";
    icon = ./cava.png; # TODO icon not displaying in runner
    categories = [
      "Audio"
      "AudioVideo"
    ];
  };
}
