From 2e25162ea8539bf46c1f018d29d103ed30483606 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Tue, 12 Jul 2022 13:27:45 -0400 Subject: [PATCH] mate-tweak: fixed icon and mate-compton startup --- helpers/make-mate-tweak | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helpers/make-mate-tweak b/helpers/make-mate-tweak index 3d9f2c39..bd7b0c7b 100644 --- a/helpers/make-mate-tweak +++ b/helpers/make-mate-tweak @@ -18,16 +18,19 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=8 +VERSION=9 . ./config sed -i 's/manjaro/trisquel/g' mate-tweak sed -i 's/Manjaro/Trisquel/g' mate-tweak +# Set icon +sed 's/Icon=.*/Icon=mate-desktop-symbolic/' -i data/mate-tweak.desktop + # Disable composition on llvm 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 +sed '1a\\n # Do not run without 3D acceleration\nglxinfo | grep -q "Accelerated: no" && exit 0' -i marco-compton # 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 -- GitLab