2 last months
This commit is contained in:
parent
f845745874
commit
15b909473e
63 changed files with 963 additions and 1103 deletions
13
hosts/totsugeki/home-manager/scripts/setup-soundboard.nix
Normal file
13
hosts/totsugeki/home-manager/scripts/setup-soundboard.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "setup-soundboard";
|
||||
text = ''
|
||||
touch "/run/user/$UID/soundboard.init"
|
||||
pw-cli create-node adapter '{ factory.name=support.null-audio-sink node.name="Soundboard" node.description="Soundboard" media.class=Audio/Sink object.linger=true audio.position=[FL FR] }'
|
||||
pw-link Soundboard:monitor_FL easyeffects_source:input_FL
|
||||
pw-link Soundboard:monitor_FR easyeffects_source:input_FR
|
||||
pw-link Soundboard:monitor_FL easyeffects_sink:playback_FL
|
||||
pw-link Soundboard:monitor_FR easyeffects_sink:playback_FR
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue