aboutsummaryrefslogtreecommitdiffstats
path: root/bin/autostart
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-02-25 23:56:13 +0100
committerDavid Runge <david.runge@frqrec.com>2014-02-25 23:56:13 +0100
commit68dc18fe54b88ca146419a083f2c765c8668d35a (patch)
treebb6533f905165debac2e61b1602c0983744ef979 /bin/autostart
parent742ce01ecdf7a3d1bc30cc1aee0cad345f119fce (diff)
downloaddotfiles-68dc18fe54b88ca146419a083f2c765c8668d35a.tar.gz
dotfiles-68dc18fe54b88ca146419a083f2c765c8668d35a.tar.bz2
dotfiles-68dc18fe54b88ca146419a083f2c765c8668d35a.tar.xz
dotfiles-68dc18fe54b88ca146419a083f2c765c8668d35a.zip
Updating script to be called from lightdm post login script
Diffstat (limited to 'bin/autostart')
-rwxr-xr-xbin/autostart14
1 files changed, 10 insertions, 4 deletions
diff --git a/bin/autostart b/bin/autostart
index b74cc0d..f1f4f6e 100755
--- a/bin/autostart
+++ b/bin/autostart
@@ -1,12 +1,18 @@
#!/bin/bash
-# make realtime specific check
+# Auto starting various programs post lightdm
+
+export DISPLAY=:0.0
+export XAUTHORITY=/home/dave/.Xauthority
+
KERNEL_NAME=$(uname -r)
if [[ "$KERNEL_NAME" != *rt* ]]; then
dropbox start &
owncloud &
- compton --config ~/.config/compton.conf -b
+ nm-applet &
+ firewall-applet &
+ urxvt &
else
pulseaudio --kill &
-# start_jack &
- run_once qjackctl &
+ qjackctl &
fi
+#autorandr -c