Fixed mising escapes in make-compton

This commit is contained in:
Ruben Rodriguez 2015-02-28 12:43:48 +01:00
parent 4d62e9fa50
commit 0507996c74

View file

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