cava: add testbed (#1617)

Link: https://github.com/nix-community/stylix/pull/1617

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-07-06 15:28:43 -07:00 committed by GitHub
parent a5c1532ab8
commit 5259682ce5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ lib, pkgs, ... }:
{
stylix.testbed.ui.command = {
text = ''
${lib.getExe' pkgs.alsa-utils "aplay"} /dev/urandom &
${lib.getExe pkgs.cava}
'';
useTerminal = true;
};
home-manager.sharedModules = lib.singleton {
programs.cava.enable = true;
stylix.targets.cava.rainbow.enable = true;
};
}

View file

@ -0,0 +1,14 @@
{ lib, pkgs, ... }:
{
stylix.testbed.ui.command = {
text = ''
${lib.getExe' pkgs.alsa-utils "aplay"} /dev/urandom &
${lib.getExe pkgs.cava}
'';
useTerminal = true;
};
home-manager.sharedModules = lib.singleton {
programs.cava.enable = true;
};
}