comp.sh addition
This commit is contained in:
parent
ddb8eba3dc
commit
fda66cf32f
1 changed files with 10 additions and 0 deletions
10
comp.sh
Executable file
10
comp.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue