update compiz-lxde-emerald script

This commit is contained in:
raveit 2013-04-24 14:38:58 +02:00
parent c061d6e625
commit df459f5528
1 changed files with 3 additions and 7 deletions

10
compiz-lxde-emerald Normal file → Executable file
View File

@ -1,13 +1,8 @@
#!/bin/bash
function runCompiz() {
if ( [ -e /usr/lib/compizconfig/backends/libini.so ] || [ -e /usr/lib64/compizconfig/backends/libini.so ] )
then
exec compiz --replace --sm-disable --ignore-desktop-hints ccp &&
emerald --replace $@
else
exec compiz --replace --sm-disable --ignore-desktop-hints ccp glib ini $@
fi
emerald --replace &
exec compiz --replace --sm-disable --ignore-desktop-hints ccp $@
}
ISSW=`glxinfo | grep "Software Rasterizer" -c`
@ -30,3 +25,4 @@ fi
# Fall back to openbox-lxde
exec openbox-lxde $@