From fda66cf32f97062bd83f2f25bf3f7cbfe5b1add1 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 22 Jun 2015 16:54:47 +0300 Subject: [PATCH] comp.sh addition --- comp.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 comp.sh diff --git a/comp.sh b/comp.sh new file mode 100755 index 0000000..e247b26 --- /dev/null +++ b/comp.sh @@ -0,0 +1,10 @@ +#!/usr/bin/zsh +compton_lockfile=/tmp/compton.lock +if [[ -e ${compton_lockfile} ]]; then + kill $(pgrep compton) + rm ${compton_lockfile} +else + touch ${compton_lockfile} + compton --vsync drm --unredir-if-possible --paint-on-overlay -cGCb -t-5 -l-5 -r4 -o.55 -m.95 +fi +exit 0