Skip to content

Instantly share code, notes, and snippets.

@razius
Created September 18, 2014 08:30
Show Gist options
  • Save razius/fbff8926cac3fe91fb3c to your computer and use it in GitHub Desktop.
Save razius/fbff8926cac3fe91fb3c to your computer and use it in GitHub Desktop.
#!/bin/bash
# Check if DBUS is started and if not start it.
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
# Touchpad tweaks
synclient AreaTopEdge=5000
#~/.config/conky/scripts/start-conky.sh &
autostart_items=(
'nitrogen --restore'
'gnome-settings-daemon'
'xcompmgr -C -n'
'dropbox start'
'skype'
'nm-applet'
'conky'
'wmname LG3D'
'thunar --daemon'
'hipchat'
);
for item in "${autostart_items[@]}"
do
$item &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment