#!/bin/sh

# compton wrapper
if [ "$1" = "on" ] ; then
	compton -b --config ~/.config/compton.conf
elif [ "$1" = "off" ] ; then
	pid=`ps -eo pid,cmd | awk '$2 == "compton" {print $1}' `
	kill -KILL $pid
else
	echo "input on/off"
fi
