Skip to content
Snippets Groups Projects
Commit 9e5bf0c3 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

mate-tweak: prevent broken shadows and screen tearing in picom

parent 3634dd0f
No related branches found
No related tags found
No related merge requests found
Pipeline #820 passed
...@@ -18,7 +18,7 @@ ...@@ -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=12 VERSION=13
. ./config . ./config
...@@ -39,6 +39,8 @@ sed -i '/shadow-radius/s|12|15|' marco-wrapper ...@@ -39,6 +39,8 @@ sed -i '/shadow-radius/s|12|15|' marco-wrapper
sed -i '/shadow-opacity/s|0.125|0.5|' marco-wrapper sed -i '/shadow-opacity/s|0.125|0.5|' marco-wrapper
sed -i '/shadow-offset-x/s|-12|-15|' marco-wrapper sed -i '/shadow-offset-x/s|-12|-15|' marco-wrapper
sed -i '/shadow-offset-y/s|-12|-15|' marco-wrapper sed -i '/shadow-offset-y/s|-12|-15|' marco-wrapper
sed -i 's/Firefox/abrowser/' marco-wrapper
sed -i 's/Ulauncher/icedove/' marco-wrapper
# Transitional dummy marco-compton # Transitional dummy marco-compton
rm marco-compton rm marco-compton
...@@ -52,8 +54,8 @@ WINDOW_MANAGER=xterm ...@@ -52,8 +54,8 @@ WINDOW_MANAGER=xterm
[ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite [ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite
if glxinfo -B | grep "OpenGL renderer string" | grep -qv llvmpipe ; then if glxinfo -B | grep "OpenGL renderer string" | grep -qv llvmpipe ; then
if [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-xrender ] ; then if [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-glx ] ; then
WINDOW_MANAGER=marco-xrender WINDOW_MANAGER=marco-glx
else else
WINDOW_MANAGER=marco WINDOW_MANAGER=marco
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment