Browse Source

Updates

master
JD Cantrell 2 years ago
parent
commit
c89fb2a654
  1. 4
      backup.sh
  2. 2
      jack-aggregate.sh

4
backup.sh

@ -3,8 +3,8 @@ set -e
declare -A SYNC_FOLDERS
SYNC_FOLDERS=(
[/media/Baranduin/backup/]=jd@twoflower:/home/jd/smb/data/
[/media/Baranduin/shared/]=jd@twoflower:/home/jd/smb/shared/
[/media/Baranduin/backup/]=jd@twoflower:/home/jd/data/backup/
[/media/Baranduin/shared/]=jd@twoflower:/home/jd/data/shared/
)
#colors

2
jack-aggregate.sh

@ -5,4 +5,4 @@ NAME="Audioengine"
ALSA_DETAILS=$(aplay -l | grep -A 2 $NAME)
CARD_NUMBER=$(echo "$ALSA_DETAILS" | grep -oP "card \K[0-9]")
DEVICE_NUMBER=$(echo "$ALSA_DETAILS" | grep -oP "Subdevice #\K[0-9]")
alsa_out -j "speakers" -d "hw:$CARD_NUMBER,$DEVICE_NUMBER"
alsa_out -j "speakers" -d "hw:$CARD_NUMBER,$DEVICE_NUMBER" &
Loading…
Cancel
Save