mate-tweak: revert modification to start check for compton

This commit is contained in:
Ruben Rodriguez 2021-11-30 15:49:51 -05:00
parent 2324013d01
commit c1242a7713

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=6 VERSION=7
. ./config . ./config
@ -27,7 +27,7 @@ sed -i 's/Manjaro/Trisquel/g' mate-tweak
# Disable composition on llvm # Disable composition on llvm
sed 's/Software Rasterizer/Accelerated: no/' -i mate-tweak sed 's/Software Rasterizer/Accelerated: no/' -i mate-tweak
sed '2a # Do not run without 3D acceleration\nglxinfo | grep -q "Accelerated: no" && exit 0\n' -i marco-compton sed '/no-composite/a # Do not run without 3D acceleration\nglxinfo | grep -q "Accelerated: no" && exit 0\n' -i marco-compton
# Allow loading global compton config file # Allow loading global compton config file
sed '/for this wrapper./aif [ -f /etc/xdg/compton.conf]; then \n compton --config /etc/xdg/compton.conf' -i marco-compton sed '/for this wrapper./aif [ -f /etc/xdg/compton.conf]; then \n compton --config /etc/xdg/compton.conf' -i marco-compton