aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.xinitrc5
-rwxr-xr-xbin/startaudio2
2 files changed, 4 insertions, 3 deletions
diff --git a/.xinitrc b/.xinitrc
index 8cc9f49..bade7f5 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -15,8 +15,7 @@ urxvtd -q -f -o &
urxvtc &
# /home/ryan/.screenlayout/work.sh
/home/ryan/.screenlayout/SCREENLAYOUT.sh && nitrogen --restore
-if [[ "PULSE_JACKD" = "True" ]]; then
- start-pulseaudio-x11 &
- jackd -d alsa &
+if [ "PULSE_JACKD" = "True" ]; then
+ sh bin/startaudio &
fi
exec /usr/bin/xmonad
diff --git a/bin/startaudio b/bin/startaudio
new file mode 100755
index 0000000..407c751
--- /dev/null
+++ b/bin/startaudio
@@ -0,0 +1,2 @@
+#!/bin/sh
+start-pulseaudio-x11 && sleep 2 && sh ~/.jackdrc