From a9ad80e8690dbfb0d1031a27d2a3f6657b31a5b4 Mon Sep 17 00:00:00 2001 From: a_slacker_here <franparpe@openmailbox.org> Date: Sun, 8 Feb 2015 19:27:22 +0100 Subject: [PATCH] Fixing the parse_config() issue --- helpers/make-compton | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpers/make-compton b/helpers/make-compton index 28380552..3d41e2f3 100644 --- a/helpers/make-compton +++ b/helpers/make-compton @@ -1,6 +1,7 @@ #!/bin/sh # # Copyright (C) 2011 Rubén RodrÃguez <ruben@trisquel.info> +# Copyright (C) 2015 Francisco Parra <franparpe@openmailbox.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,10 +47,10 @@ cat << EOF > compton-launcher #!/bin/sh [ \$DESKTOP_SESSION = "trisquel-session" ] || exit 0 -[ -f ~/.config/disable-compton ] && exit 0 +[ -f $HOME/.config/disable-compton ] && exit 0 FILE=/etc/compton.conf -[ -f ~/.config/compton.conf ] && FILE="~/.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