diff options
-rwxr-xr-x | .xinitrc | 5 | ||||
-rwxr-xr-x | bin/startaudio | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -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 |