From 0507996c74b24df45b6df4e7c4a20f82a0db1a12 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Sat, 28 Feb 2015 12:43:48 +0100 Subject: [PATCH] Fixed mising escapes in make-compton --- helpers/make-compton | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/make-compton b/helpers/make-compton index 3d41e2f3..d0e2e20c 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 -- GitLab