From 7ac78a5b587181888c87848d1b6b808beb90d429 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 28 Jul 2019 11:59:19 -0400 Subject: [PATCH] Start up system audio script --- scripts/system-start-audio.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/system-start-audio.sh diff --git a/scripts/system-start-audio.sh b/scripts/system-start-audio.sh new file mode 100644 index 0000000..8b9ab08 --- /dev/null +++ b/scripts/system-start-audio.sh @@ -0,0 +1,19 @@ +#! /bin/bash + +# Kill Pulse +pulseaudio -k + +# Start up jack +cadence-session-start --system-start +ladish_control sload Working7-27-19 + +# Dumb hack to make audio setup right +for i in {1..10} +do + pulseaudio -k + sleep 0.1 + pulseaudio -D +done + +# Start up music player +sleep 20 && i3-msg 'workspace 10; exec google-play-music-desktop-player'