fix: jack launcher
This commit is contained in:
parent
b5d5c834f3
commit
629f1628ff
3 changed files with 11 additions and 5 deletions
|
@ -31,7 +31,6 @@ alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | m
|
|||
alias pacman-autoremove='pacman -Rns $(pacman -Qtdq)'
|
||||
alias portalo-hz='xrandr --output HDMI-1 --mode 2560x1440 --refresh'
|
||||
|
||||
alias ssh-sftp='$(read -t 2 -r tool; if [[ -z "$tool" ]]; then tool="ssh"; fi; echo $tool)'
|
||||
alias sudo='sudo '
|
||||
alias synced-repos-status='
|
||||
echo "dotfiles" && dotfiles status;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
sleep 5
|
||||
sleep 8
|
||||
pulseaudio -k
|
||||
|
||||
sleep 1
|
||||
jack_control ds alsa
|
||||
jack_control dps device hw:U192k
|
||||
jack_control dps rate 48000
|
||||
|
@ -10,8 +12,13 @@ jack_control dps period 128
|
|||
jack_control start
|
||||
|
||||
sleep 1
|
||||
pulseaudio -D
|
||||
|
||||
pulseaudio -D &
|
||||
sleep 1
|
||||
pulseaudio -k
|
||||
|
||||
sleep 5
|
||||
sleep 1
|
||||
pulseaudio -D
|
||||
|
||||
sleep 1
|
||||
a2jmidid -e &
|
||||
|
|
2
.profile
2
.profile
|
@ -12,7 +12,7 @@ then
|
|||
gpgconf --launch gpg-agent
|
||||
fi
|
||||
|
||||
$HOME/.local/bin/start_jack &
|
||||
[ -x "$(command -v jack_control)" ] && $HOME/.local/bin/start_jack >/tmp/jack.log 2>&1 &
|
||||
|
||||
if [ -x "$(command -v mopidy)" ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue