2 last months
This commit is contained in:
parent
f845745874
commit
15b909473e
63 changed files with 963 additions and 1103 deletions
16
hosts/totsugeki/home-manager/scripts/play-on-soundboard.nix
Normal file
16
hosts/totsugeki/home-manager/scripts/play-on-soundboard.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "play-on-soundboard";
|
||||
runtimeInputs = with pkgs; [ mpv ];
|
||||
text = ''
|
||||
if [ ! -f "/run/user/$UID/soundboard.init" ]; then
|
||||
setup-soundboard
|
||||
fi
|
||||
mpv \
|
||||
--no-video\
|
||||
--audio-device=pipewire/Soundboard\
|
||||
--audio-client-name="Soundboard"\
|
||||
"$@"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue