update compiz-mate-emerald
This commit is contained in:
parent
389dd44129
commit
180dc13ed4
10
compiz-mate-emerald
Normal file → Executable file
10
compiz-mate-emerald
Normal file → Executable file
@ -1,13 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function runCompiz() {
|
function runCompiz() {
|
||||||
if ( [ -e /usr/lib/compizconfig/backends/libini.so ] || [ -e /usr/lib64/compizconfig/backends/libini.so ] )
|
emerald --replace &
|
||||||
then
|
exec compiz --replace --sm-disable --ignore-desktop-hints ccp $@
|
||||||
exec compiz --replace --sm-disable --ignore-desktop-hints ccp &&
|
|
||||||
emerald --replace $@
|
|
||||||
else
|
|
||||||
exec compiz --replace --sm-disable --ignore-desktop-hints glib ini matecompat $@
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ISSW=`glxinfo | grep "Software Rasterizer" -c`
|
ISSW=`glxinfo | grep "Software Rasterizer" -c`
|
||||||
@ -30,3 +25,4 @@ fi
|
|||||||
|
|
||||||
# Fall back to marco
|
# Fall back to marco
|
||||||
exec marco $@
|
exec marco $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user