aboutsummaryrefslogtreecommitdiffstats
path: root/bin/autostart
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-12-10 12:10:45 +0100
committerDavid Runge <david.runge@frqrec.com>2013-12-10 12:10:45 +0100
commit9e40bf449146bb2207937dd9115ecb89017875c4 (patch)
tree58762ecc6729f79c2e4060585737bcad6ae07e43 /bin/autostart
parentdef90b4647b2e9b87cdb820f5cb200051c3b3de2 (diff)
downloaddotfiles-9e40bf449146bb2207937dd9115ecb89017875c4.tar.gz
dotfiles-9e40bf449146bb2207937dd9115ecb89017875c4.tar.bz2
dotfiles-9e40bf449146bb2207937dd9115ecb89017875c4.tar.xz
dotfiles-9e40bf449146bb2207937dd9115ecb89017875c4.zip
Added autostart functionality when on rt kernel
Diffstat (limited to 'bin/autostart')
-rwxr-xr-xbin/autostart13
1 files changed, 10 insertions, 3 deletions
diff --git a/bin/autostart b/bin/autostart
index b5515da..1fac332 100755
--- a/bin/autostart
+++ b/bin/autostart
@@ -1,5 +1,12 @@
#!/bin/bash
# make RT check and don't start!
-dropbox start &
-owncloud &
-compton --config ~/.config/compton.conf -b
+KERNEL_NAME=$(uname -r)
+if [[ "$KERNEL_NAME" != *rt* ]]; then
+ dropbox start &
+ owncloud &
+ compton --config ~/.config/compton.conf -b
+else
+ pulseaudio --kill &
+# start_jack &
+ run_once qjackctl &
+fi