Improvements to compton setup

This commit is contained in:
Ruben Rodriguez 2020-04-10 14:23:30 -04:00
parent 826b050cab
commit 077dcb0dd3
5 changed files with 21 additions and 177 deletions

View file

@ -17,13 +17,23 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
VERSION=2
. ./config
sed -i 's/manjaro/trisquel/g' mate-tweak
sed -i 's/Manjaro/Trisquel/g' mate-tweak
# Disable composition on llvm
sed '2a # Do not run without 3D acceleration\nglxinfo | grep "renderer string:" | grep -q llvmpipe && exit 0\n' -i marco-compton
# Allow loading global compton config file
sed '/config \/dev\/null/d' -i marco-compton
# Shadow config
sed 's/-r 10 -o 0.225 -l -12 -t -12/-r 6 -o 0.6 -l -9 -t -9/' -i marco-compton
sed "s/_GTK_FRAME_EXTENTS@:c/argb \&\& ! window_type *= 'menu'/" -i marco-compton
changelog "Add Trisquel as panel layout option"
compile