Further disable compton if no acceleration
This commit is contained in:
parent
e6a037a204
commit
eb8efb1042
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue