diff --git a/helpers/make-compton b/helpers/make-compton index 3d41e2f307884aa25988384a69b64f0667c47fed..d0e2e20c4a5a960aa9a48ace52d26a0eb4feb1de 100644 --- a/helpers/make-compton +++ b/helpers/make-compton @@ -18,7 +18,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=4 +VERSION=5 . ./config @@ -47,10 +47,10 @@ cat << EOF > compton-launcher #!/bin/sh [ \$DESKTOP_SESSION = "trisquel-session" ] || exit 0 -[ -f $HOME/.config/disable-compton ] && exit 0 +[ -f \$HOME/.config/disable-compton ] && exit 0 FILE=/etc/compton.conf -[ -f $HOME/.config/compton.conf ] && FILE="$HOME/.config/compton.conf" +[ -f \$HOME/.config/compton.conf ] && FILE="\$HOME/.config/compton.conf" [ 0 != \$(glxinfo |grep "renderer string:" |grep -v llvmpipe | wc -c) ] && exec compton --config \$FILE & EOF