Added make-mate-tweak, fixes screensaver issue

This commit is contained in:
Ruben Rodriguez 2017-04-19 23:30:56 -04:00
parent 4ba5933845
commit 3f6d3462b7
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,20 @@
--- a/marco-compton 2016-04-11 09:19:13.000000000 -0400
+++ b/marco-compton 2017-04-19 23:04:50.406817419 -0400
@@ -40,6 +40,7 @@
--mark-wmwin-focused \
-r 10 -o 0.225 -l -12 -t -12 \
-c -C -G \
+ --unredir-if-possible-exclude "class_g = 'Mate-screensaver'" \
--shadow-exclude "! name~=''" \
--shadow-exclude "name = 'Notification'" \
--shadow-exclude "name = 'Plank'" \
--- a/metacity-compton 2016-04-11 09:19:13.000000000 -0400
+++ b/metacity-compton 2017-04-19 23:04:35.926817421 -0400
@@ -40,6 +40,7 @@
--mark-wmwin-focused \
-r 7 -o 0.09 -l -8 -t -8 \
-c -C -G \
+ --unredir-if-possible-exclude "class_g = 'Mate-screensaver'" \
--shadow-exclude "! name~=''" \
--shadow-exclude "name = 'Notification'" \
--shadow-exclude "name = 'Plank'" \

29
helpers/make-mate-tweak Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2017 Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
. ./config
patch -p1 < $DATA/screensaver-nounredir.patch
changelog "Customize marco-compton settings"
compile