diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-10-28 10:49:23 +0000 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-10-28 10:49:23 +0000 |
commit | 21ee948b2723e4bb4edf394da86ac651b8330fba (patch) | |
tree | a850e0c139016e2e793dd7e8d7661accc372d64b | |
parent | Use path to SSL certs in offlineimap instead of manual fingerprint (diff) |
Insert a two second delay between pulseaudio and jackd
-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 |