Enable Direct Monitor for FOCUSRITE Scarlett 2i2 3rd Gen
This commit is contained in:
parent
c5c4eef54d
commit
1620c01b16
@ -1,4 +1,6 @@
|
||||
#!/bin/zsh
|
||||
# coding: utf-8
|
||||
# Author: Maksim Totmin, @iMaciaveller
|
||||
|
||||
#BINDS
|
||||
|
||||
@ -8,4 +10,7 @@ bindkey "^[OF" end-of-line
|
||||
bindkey '^[[1;5D' backward-word
|
||||
bindkey '^[[1;5C' forward-word
|
||||
|
||||
bindkey "^A" vi-beginning-of-line
|
||||
bindkey "^E" vi-end-of-line
|
||||
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
22
rockethype/local/bin/menuaudio
Executable file
22
rockethype/local/bin/menuaudio
Executable file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user