Enable Direct Monitor for FOCUSRITE Scarlett 2i2 3rd Gen
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
option0="Disable DM"
|
||||
option1="Enable DM"
|
||||
|
||||
option2="Toggle DM Capture Card"
|
||||
|
||||
options="$option0\n$option1\n$option2"
|
||||
|
||||
selected="$(echo -e "$options" | wofi -n -d -p "Direct Monitor:" || exit 0)"
|
||||
|
||||
case $selected in
|
||||
$option0)
|
||||
amixer --card=3 set 'Direct Monitor' Off;;
|
||||
$option1)
|
||||
amixer --card=3 set 'Direct Monitor' Stereo;;
|
||||
$option2)
|
||||
loopback_toggle;;
|
||||
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user