refactor!: restructure and document configuration
This commit is contained in:
parent
4a02e072a7
commit
f87f9995be
126 changed files with 957 additions and 590 deletions
18
shared/home-manager/scripts/create_feedback_sink.sh
Executable file
18
shared/home-manager/scripts/create_feedback_sink.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Load sinks
|
||||
#
|
||||
pactl load-module module-null-sink formats=pcm,float32le sink_name=output sink_properties=device.description="Output"
|
||||
pactl load-module module-null-sink formats=pcm,float32le sink_name=applications sink_properties=device.description="Applications"
|
||||
|
||||
#
|
||||
# Loopback audio to the correct places
|
||||
#
|
||||
|
||||
# Application audio forwarded to microphone
|
||||
pactl load-module module-loopback latency_msec=25 source=applications.monitor sink=output
|
||||
# Microphone
|
||||
pactl load-module module-loopback latency_msec=25 source=rnnoise_source sink=output
|
||||
# Application audio forwarded to me
|
||||
pactl load-module module-loopback latency_msec=25 source=applications.monitor sink=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.pro-output-0
|
4
shared/home-manager/scripts/delete_feedback_sink.sh
Executable file
4
shared/home-manager/scripts/delete_feedback_sink.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
pactl unload-module module-loopback
|
||||
pactl unload-module module-null-sink
|
7
shared/home-manager/scripts/games/launch.sh
Executable file
7
shared/home-manager/scripts/games/launch.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# I've removed all environment variables
|
||||
# but there might be useful ones in the future.
|
||||
# https://docs.mesa3d.org/envvars.html
|
||||
|
||||
mangohud gamemoderun "$@"
|
Loading…
Add table
Add a link
Reference in a new issue