#!/bin/sh

# Launch GVFS Daemon
if [ -x /usr/libexec/gvfsd ]; then
  /usr/libexec/gvfsd -r &
fi

# Launch composite manager
if [ `which compton 2>/dev/null` ]; then
  killall compton 2>/dev/null
  compton -b --vsync drm || compton -b
fi

# Launch the dock
cairo-dock.bin "$@"
