#! /bin/bash
# xcompmgr level selector
# arpinux 2012 <http://arpinux.org>
if [ "$1" == "-s" ]; then
    killall xcompmgr
elif [ "$1" == "-l" ]; then
    killall xcompmgr
    sleep 1s
    xcompmgr -fF &
elif [ "$1" == "-m" ]; then
    killall xcompmgr
    sleep 1s
    xcompmgr -CcfF -I20 -O10 -D1 -t-5 -l-5 -r4.2 -o.82 &
elif [ "$1" == "-f" ]; then
    killall xcompmgr
    sleep 1s
    xcompmgr -CcfF -I-.015 -O-.03 -D6 -t-1 -l-3 -r4.2 -o.5 &
else
    echo "xcompmgr_livarp Usage:"
    echo "-s = stop"
    echo "-l = light"
    echo "-m = medium"
    echo "-f = full"
fi