Further disable compton if no acceleration

This commit is contained in:
Ruben Rodriguez 2020-04-17 23:35:12 -04:00
parent e6a037a204
commit eb8efb1042

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
@ -27,6 +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 '/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 '/config \/dev\/null/d' -i marco-compton sed '/config \/dev\/null/d' -i marco-compton